| Index: chrome_elf/blacklist/blacklist_interceptions.cc
|
| diff --git a/chrome_elf/blacklist/blacklist_interceptions.cc b/chrome_elf/blacklist/blacklist_interceptions.cc
|
| index d0f64ea3721c0da47c368529ef6c53d254f12b60..6b01438b9261b088175db7be7a46eafc686d504e 100644
|
| --- a/chrome_elf/blacklist/blacklist_interceptions.cc
|
| +++ b/chrome_elf/blacklist/blacklist_interceptions.cc
|
| @@ -35,8 +35,8 @@ FARPROC GetNtDllExportByName(const char* export_name) {
|
| }
|
|
|
| bool DllMatch(const base::string16& module_name) {
|
| - for (int i = 0; i < blacklist::g_troublesome_dlls_cur_index; ++i) {
|
| - if (module_name == blacklist::g_troublesome_dlls[i])
|
| + for (int i = 0; blacklist::g_troublesome_dlls[i] != NULL; ++i) {
|
| + if (_wcsicmp(module_name.c_str(), blacklist::g_troublesome_dlls[i]) == 0)
|
| return true;
|
| }
|
| return false;
|
|
|