Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2652)

Issue 10374044: ASAN Runtime: Fix ReAlloc to not deallocate original on alloc failure. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by Siggi
Modified:
10 years, 10 months ago
CC:
sawbuck-changes_googlegroups.com
Base URL:
http://sawbuck.googlecode.com/svn/trunk
Visibility:
Public.

Description

ASAN Runtime: Fix ReAlloc to not deallocate original on alloc failure. R=chrisha@chromium.org, rogerm@chromium.org Committed: https://code.google.com/p/sawbuck/source/detail?r=1578

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address Roger's comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -3 lines) Patch
M syzygy/agent/asan/asan_heap.cc View 1 1 chunk +11 lines, -3 lines 0 comments Download
M syzygy/agent/asan/asan_heap_unittest.cc View 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 5
Siggi
PTAL
10 years, 10 months ago (2013-06-18 14:31:22 UTC) #1
chrisha
lgtm! https://codereview.appspot.com/10374044/diff/1/syzygy/agent/asan/asan_heap_unittest.cc File syzygy/agent/asan/asan_heap_unittest.cc (right): https://codereview.appspot.com/10374044/diff/1/syzygy/agent/asan/asan_heap_unittest.cc#newcode246 syzygy/agent/asan/asan_heap_unittest.cc:246: proxy_.ReAlloc(HEAP_REALLOC_IN_PLACE_ONLY, NULL, kAllocSize)); Is this the right behaviour? ...
10 years, 10 months ago (2013-06-18 14:33:05 UTC) #2
Roger McFarlane
Nice! LGTM with a nit. https://codereview.appspot.com/10374044/diff/1/syzygy/agent/asan/asan_heap.cc File syzygy/agent/asan/asan_heap.cc (right): https://codereview.appspot.com/10374044/diff/1/syzygy/agent/asan/asan_heap.cc#newcode251 syzygy/agent/asan/asan_heap.cc:251: if (new_mem != NULL ...
10 years, 10 months ago (2013-06-18 14:48:57 UTC) #3
Siggi
Thanks, committing. https://codereview.appspot.com/10374044/diff/1/syzygy/agent/asan/asan_heap.cc File syzygy/agent/asan/asan_heap.cc (right): https://codereview.appspot.com/10374044/diff/1/syzygy/agent/asan/asan_heap.cc#newcode251 syzygy/agent/asan/asan_heap.cc:251: if (new_mem != NULL && mem != ...
10 years, 10 months ago (2013-06-18 15:23:47 UTC) #4
Siggi
10 years, 10 months ago (2013-06-18 15:25:24 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r1578 (presubmit successful).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b