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

Issue 7222027: Add checks for entry_. From coverity CID=8237 (Closed)

Created:
9 years, 6 months ago by Greg Billock
Modified:
9 years, 6 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, cbentzel+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, darin-cc_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Add checks for entry_. From coverity CID=8237 Check result of inflateInit Coverity CID=14712 BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=90618

Patch Set 1 #

Patch Set 2 : Add null and return checks #

Total comments: 4

Patch Set 3 : Remove entry_ checks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M net/http/http_cache_transaction.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M remoting/base/decompressor_zlib.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Greg Billock
9 years, 6 months ago (2011-06-22 16:15:36 UTC) #1
Greg Billock
Hi, Will, did you get the git cl upload mail?
9 years, 6 months ago (2011-06-22 16:16:57 UTC) #2
willchan no longer on Chromium
+rvargas for HttpCache, +ajwong for remoting/ I didn't get the first mail but I got ...
9 years, 6 months ago (2011-06-22 18:32:24 UTC) #3
awong
LGTM for chromoting
9 years, 6 months ago (2011-06-22 18:38:48 UTC) #4
rvargas (doing something else)
http://codereview.chromium.org/7222027/diff/2001/net/http/http_cache_transaction.cc File net/http/http_cache_transaction.cc (right): http://codereview.chromium.org/7222027/diff/2001/net/http/http_cache_transaction.cc#newcode1033 net/http/http_cache_transaction.cc:1033: if (entry_ && !partial_.get() || partial_->IsLastRange()) { entry_ is ...
9 years, 6 months ago (2011-06-23 19:00:27 UTC) #5
Greg Billock
http://codereview.chromium.org/7222027/diff/2001/net/http/http_cache_transaction.cc File net/http/http_cache_transaction.cc (right): http://codereview.chromium.org/7222027/diff/2001/net/http/http_cache_transaction.cc#newcode1033 net/http/http_cache_transaction.cc:1033: if (entry_ && !partial_.get() || partial_->IsLastRange()) { On 2011/06/23 ...
9 years, 6 months ago (2011-06-23 20:13:25 UTC) #6
rvargas (doing something else)
LGTM. I thought coverity was complaining because it saw the second check after being used ...
9 years, 6 months ago (2011-06-23 22:54:49 UTC) #7
commit-bot: I haz the power
9 years, 6 months ago (2011-06-27 19:30:03 UTC) #8
Change committed as 90618

Powered by Google App Engine
This is Rietveld 408576698