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

Issue 11886065: Fixing null pointer dereference. (Closed)

Created:
7 years, 11 months ago by glotov
Modified:
7 years, 11 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fixing null pointer dereference. BUG=chromium:158178 TEST=units,make sure such SEGV doesnt happen on x86-generic-bot (where it pops periodically now) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177399

Patch Set 1 #

Patch Set 2 : typo #

Patch Set 3 : more straightforward approach #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M sql/connection.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M sql/statement.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
glotov
Hi! Please have a look.
7 years, 11 months ago (2013-01-16 11:02:07 UTC) #1
Scott Hess - ex-Googler
This implies that we've received a sqlite error from a statement which was valid at ...
7 years, 11 months ago (2013-01-16 17:06:18 UTC) #2
glotov
Yes, I updated the bug history yesterday. My Cros ASAN bots catch this situation twice ...
7 years, 11 months ago (2013-01-16 17:08:58 UTC) #3
Scott Hess - ex-Googler
Apologies, brain skip on my part. Let me look at bit at the code. AFAICT, ...
7 years, 11 months ago (2013-01-16 17:19:50 UTC) #4
Scott Hess - ex-Googler
LGTM, with minor request for a TODO. I would rather the connection couldn't be NULL, ...
7 years, 11 months ago (2013-01-16 20:49:07 UTC) #5
glotov
https://chromiumcodereview.appspot.com/11886065/diff/11003/sql/connection.h File sql/connection.h (right): https://chromiumcodereview.appspot.com/11886065/diff/11003/sql/connection.h#newcode375 sql/connection.h:375: // StatementRef::StatementRef(sqlite3_stmt* stmt). On 2013/01/16 20:49:07, shess wrote: > ...
7 years, 11 months ago (2013-01-17 10:58:22 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/glotov@chromium.org/11886065/10008
7 years, 11 months ago (2013-01-17 10:58:41 UTC) #7
commit-bot: I haz the power
7 years, 11 months ago (2013-01-17 13:11:19 UTC) #8
Message was sent while issue was closed.
Change committed as 177399

Powered by Google App Engine
This is Rietveld 408576698