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

Issue 7218036: Prevent a NULL deref (Closed)

Created:
9 years, 6 months ago by groby-ooo-7-16
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Prevent a NULL deref CID=16704 Committed: http://code.google.com/p/v8/source/detail?r=8384

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M src/log.cc View 1 chunk +4 lines, -2 lines 3 comments Download

Messages

Total messages: 6 (0 generated)
groby-ooo-7-16
Would you mind reviewing this? (Part of Coverity Fixlet)
9 years, 6 months ago (2011-06-22 00:13:42 UTC) #1
mnaganov (inactive)
LGTM with a comment. http://codereview.chromium.org/7218036/diff/1/src/log.cc File src/log.cc (right): http://codereview.chromium.org/7218036/diff/1/src/log.cc#newcode404 src/log.cc:404: DeleteArray(static_cast<const char*>(entry->value)); We allocate an ...
9 years, 6 months ago (2011-06-22 05:02:47 UTC) #2
groby-ooo-7-16
http://codereview.chromium.org/7218036/diff/1/src/log.cc File src/log.cc (right): http://codereview.chromium.org/7218036/diff/1/src/log.cc#newcode404 src/log.cc:404: DeleteArray(static_cast<const char*>(entry->value)); On 2011/06/22 05:02:47, Mikhail Naganov (Chromium) wrote: ...
9 years, 6 months ago (2011-06-22 17:17:26 UTC) #3
mnaganov (inactive)
http://codereview.chromium.org/7218036/diff/1/src/log.cc File src/log.cc (right): http://codereview.chromium.org/7218036/diff/1/src/log.cc#newcode404 src/log.cc:404: DeleteArray(static_cast<const char*>(entry->value)); On 2011/06/22 17:17:26, groby wrote: > On ...
9 years, 6 months ago (2011-06-22 18:54:23 UTC) #4
groby-ooo-7-16
Preliminary committer, so yes. (It's working its way through the try bots right now) Didn't ...
9 years, 6 months ago (2011-06-22 19:14:39 UTC) #5
mnaganov (inactive)
9 years, 6 months ago (2011-06-22 19:19:06 UTC) #6
On 2011/06/22 19:14:39, groby wrote:
> Preliminary committer, so yes. (It's working its way through the try bots
right
> now)
> 

This is V8, in a separate repository from Chromium. I don't actually see you in
V8 project members, so I'll land it.

> Didn't touch the const char* because I'm not that familiar with the code base
> yet, but it seems that you are right...

Powered by Google App Engine
This is Rietveld 408576698