Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9970)

Unified Diff: chrome_elf/blacklist/blacklist_interceptions.cc

Issue 171153003: Catch EXCEPTION_IN_PAGE_ERROR errors in SafeGetImageInfo (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removing space Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_elf/blacklist/blacklist_interceptions.cc
diff --git a/chrome_elf/blacklist/blacklist_interceptions.cc b/chrome_elf/blacklist/blacklist_interceptions.cc
index 642a8b4347004fc2c9801a2862bc8b4ff136c768..9a3bdab09068f0984ed7965261df7ac236f0c703 100644
--- a/chrome_elf/blacklist/blacklist_interceptions.cc
+++ b/chrome_elf/blacklist/blacklist_interceptions.cc
@@ -148,7 +148,8 @@ void SafeGetImageInfo(const base::win::PEImage& pe,
*flags |= sandbox::MODULE_HAS_CODE;
}
}
- } __except(GetExceptionCode() == EXCEPTION_ACCESS_VIOLATION ?
+ } __except((GetExceptionCode() == EXCEPTION_ACCESS_VIOLATION ||
+ GetExceptionCode() == EXCEPTION_IN_PAGE_ERROR) ?
EXCEPTION_EXECUTE_HANDLER : EXCEPTION_CONTINUE_SEARCH) {
out_name->clear();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698