aboutsummaryrefslogtreecommitdiff
path: root/src/client/linux/minidump_writer/linux_ptrace_dumper.cc
diff options
context:
space:
mode:
authorLiu.andrew.x@gmail.com <Liu.andrew.x@gmail.com>2015-07-31 15:26:39 +0000
committerLiu.andrew.x@gmail.com <Liu.andrew.x@gmail.com>2015-07-31 15:26:39 +0000
commit0dbae0cf3f2d3614bd7cb6ec9b6ad006e6ec1917 (patch)
tree27c4955546e7ec60cd3d51a7a2c1d653655c3f86 /src/client/linux/minidump_writer/linux_ptrace_dumper.cc
parentRemove unnecessary dependencies. (diff)
downloadbreakpad-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/client/linux/minidump_writer/linux_ptrace_dumper.cc')
0 files changed, 0 insertions, 0 deletions