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

Issue 155979: Fix a FORWARD_NULL defect in ExtractModuleName reported by Coverity.... (Closed)

Created:
11 years, 5 months ago by wtc
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix a FORWARD_NULL defect in ExtractModuleName reported by Coverity. If 'sep' is still NULL after the for loop, ix must be -1, so ix == 0 cannot be true. Update the comment for ExtractModuleName in the header to match the implementation. I don't see any code that checks whether the path is a full path. R=rvargas BUG=http://crbug.com/17101 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21404

Patch Set 1 #

Patch Set 2 : Upload before checkin #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -6 lines) Patch
M sandbox/src/sandbox_nt_util.h View 1 chunk +3 lines, -3 lines 0 comments Download
M sandbox/src/sandbox_nt_util.cc View 3 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
wtc
If ExtractModuleName should check whether the path is a full path, I will undo my ...
11 years, 5 months ago (2009-07-23 01:51:02 UTC) #1
rvargas (doing something else)
11 years, 5 months ago (2009-07-23 02:54:13 UTC) #2
LGTM.

The current behavior is the desired one, thanks.

Powered by Google App Engine
This is Rietveld 408576698