aboutsummaryrefslogtreecommitdiff
path: root/src/common/linux/linux_libc_support.h
diff options
context:
space:
mode:
authorivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-05-23 18:47:49 +0000
committerivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-05-23 18:47:49 +0000
commit5bdee65f7a63f18c6145a92963f0f044165d4d7f (patch)
tree00ece428ea82d64017176d539856b48deed13a05 /src/common/linux/linux_libc_support.h
parentFixing several instances of std::vector::operator[] out of range access (diff)
downloadbreakpad-5bdee65f7a63f18c6145a92963f0f044165d4d7f.tar.xz
Thanks to Matthew Riley who noticed this issue and provided the initial proposal for the fix.
There's a bug in the new allocator<T> implementation used by wasteful_vector. It inherits the base class' implementation of allocator and doesn't implement allocate() so it goes to the heap instead of the PageAllocator -- the very thing wasteful_vector was trying to avoid! As a side effect it was also leaking heap memory. Thanks, -Ivan Review URL: https://breakpad.appspot.com/599002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1188 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/linux/linux_libc_support.h')
0 files changed, 0 insertions, 0 deletions