diff options
author | Liu.andrew.x@gmail.com <Liu.andrew.x@gmail.com> | 2015-07-31 15:26:39 +0000 |
---|---|---|
committer | Liu.andrew.x@gmail.com <Liu.andrew.x@gmail.com> | 2015-07-31 15:26:39 +0000 |
commit | 0dbae0cf3f2d3614bd7cb6ec9b6ad006e6ec1917 (patch) | |
tree | 27c4955546e7ec60cd3d51a7a2c1d653655c3f86 /src/breakpad_googletest_includes.h | |
parent | Remove unnecessary dependencies. (diff) | |
download | breakpad-0dbae0cf3f2d3614bd7cb6ec9b6ad006e6ec1917.tar.xz |
Fix potential null pointer dereference.
If a MinidumpLinuxMapsList was created and destroyed without its Read method,
the program would have a segmentation fault because the destructor did not
check for a null maps_ field. Additional changes include additional
supplementary null checks, a potential memory leak fix, and some comment
removal.
Review URL: https://codereview.chromium.org/1271543002
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1478 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/breakpad_googletest_includes.h')
0 files changed, 0 insertions, 0 deletions