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

Unified Diff: base/iat_patch.cc

Issue 48130: Initialize module_handle_ in IATPatch's constructor. (Closed)
Patch Set: Created 11 years, 9 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: base/iat_patch.cc
diff --git a/base/iat_patch.cc b/base/iat_patch.cc
index fb4a79a7d92d4ccec933f711748404af187f30a3..e7057139d6483a842cbc864ade4eff60de388dda 100644
--- a/base/iat_patch.cc
+++ b/base/iat_patch.cc
@@ -169,7 +169,8 @@ DWORD ModifyCode(void* old_code, void* new_code, int length) {
}
IATPatchFunction::IATPatchFunction()
- : original_function_(NULL),
+ : module_handle_(NULL),
+ original_function_(NULL),
iat_thunk_(NULL),
intercept_function_(NULL) {
}
« 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