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

Issue 2673863003: Fix loop early exit bug in blockfile cache Trim behavior. (Closed)

Created:
3 years, 10 months ago by Kevin M
Modified:
3 years, 10 months ago
Reviewers:
msramek, cbentzel, Wez
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org, net-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix loop early exit bug in blockfile cache Trim behavior. This bug fixes an issue in which a "done" bool in a loop is never set since it is reinitialized at the top of the loop body. (Detected as a dead store by the Clang static analyzer.) R=wez@chromium.org,msramek@chromium.org BUG=686838 Review-Url: https://codereview.chromium.org/2673863003 Cr-Commit-Position: refs/heads/master@{#449392} Committed: https://chromium.googlesource.com/chromium/src/+/468141a302bc1a593c5f9ec5286e858cf3a5f465

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M net/disk_cache/blockfile/eviction.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (13 generated)
Kevin M
3 years, 10 months ago (2017-02-04 01:16:08 UTC) #1
Kevin M
Not a high priority issue, but it popped up during a spot inspection of the ...
3 years, 10 months ago (2017-02-04 01:17:47 UTC) #4
Wez
LGTM Looks like the effect of this is to alter which cache entry gets evicted?
3 years, 10 months ago (2017-02-04 08:08:02 UTC) #5
msramek
Wow, this code is from 2009. By now, it could easily be expected behavior not ...
3 years, 10 months ago (2017-02-06 09:44:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2673863003/1
3 years, 10 months ago (2017-02-06 17:57:07 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/357549)
3 years, 10 months ago (2017-02-06 18:04:44 UTC) #14
Kevin M
mmenke for OWNERS review
3 years, 10 months ago (2017-02-06 18:10:33 UTC) #16
Kevin M
R += cbentzel (mmenke is OOO)
3 years, 10 months ago (2017-02-06 18:34:02 UTC) #18
cbentzel
On 2017/02/06 18:34:02, Kevin M wrote: > R += cbentzel (mmenke is OOO) Sorry for ...
3 years, 10 months ago (2017-02-08 23:27:16 UTC) #19
Wez
On 2017/02/08 23:27:16, cbentzel wrote: > On 2017/02/06 18:34:02, Kevin M wrote: > > R ...
3 years, 10 months ago (2017-02-09 00:47:37 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2673863003/1
3 years, 10 months ago (2017-02-09 19:07:05 UTC) #22
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 20:25:13 UTC) #25
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/468141a302bc1a593c5f9ec5286e...

Powered by Google App Engine
This is Rietveld 408576698