|
|
Created:
8 years, 5 months ago by Tyler Breisacher (Chromium) Modified:
8 years, 4 months ago CC:
chromium-reviews, darin-cc_chromium.org, Dai Mikurube (NOT FULLTIME) Base URL:
svn://svn.chromium.org/chrome/trunk/src Visibility:
Public. |
DescriptionFix two unchecked return values
CID=104234,104664
BUG=
TEST=
Committed as http://src.chromium.org/viewvc/chrome?view=rev&revision=149970
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 5
Patch Set 4 : return false #Messages
Total messages: 13 (0 generated)
+ericu to check return value listed below. http://codereview.chromium.org/10824031/diff/6001/webkit/fileapi/file_system_... File webkit/fileapi/file_system_usage_cache.cc (right): http://codereview.chromium.org/10824031/diff/6001/webkit/fileapi/file_system_... webkit/fileapi/file_system_usage_cache.cc:92: return true; I'm not 100% sure if this is correct. Let's ask Eric
http://codereview.chromium.org/10824031/diff/6001/webkit/fileapi/file_system_... File webkit/fileapi/file_system_usage_cache.cc (right): http://codereview.chromium.org/10824031/diff/6001/webkit/fileapi/file_system_... webkit/fileapi/file_system_usage_cache.cc:92: return true; On 2012/07/26 17:38:04, brettw wrote: > I'm not 100% sure if this is correct. Let's ask Eric I think we want to return false there, but Kinuko or DMikurube would know for sure.
http://codereview.chromium.org/10824031/diff/6001/webkit/fileapi/file_system_... File webkit/fileapi/file_system_usage_cache.cc (right): http://codereview.chromium.org/10824031/diff/6001/webkit/fileapi/file_system_... webkit/fileapi/file_system_usage_cache.cc:92: return true; On 2012/07/26 17:58:52, ericu wrote: > On 2012/07/26 17:38:04, brettw wrote: > > I'm not 100% sure if this is correct. Let's ask Eric > > I think we want to return false there, but Kinuko or DMikurube would know for > sure. Looks like this should return false. dmikurube@ can you confirm?
http://codereview.chromium.org/10824031/diff/6001/webkit/fileapi/file_system_... File webkit/fileapi/file_system_usage_cache.cc (right): http://codereview.chromium.org/10824031/diff/6001/webkit/fileapi/file_system_... webkit/fileapi/file_system_usage_cache.cc:92: return true; If I'm not mistaken it's currently returning true, because we init is_valid to true at the top. So it looks like Coverity may have helped us find an actual bug. Hooray!
http://codereview.chromium.org/10824031/diff/6001/webkit/fileapi/file_system_... File webkit/fileapi/file_system_usage_cache.cc (right): http://codereview.chromium.org/10824031/diff/6001/webkit/fileapi/file_system_... webkit/fileapi/file_system_usage_cache.cc:92: return true; On 2012/07/26 18:47:07, Tyler Breisacher wrote: > If I'm not mistaken it's currently returning true, because we init is_valid to > true at the top. So it looks like Coverity may have helped us find an actual > bug. Hooray! I think false is fine here.
On 2012/07/27 03:53:42, Dai Mikurube wrote: > > I think false is fine here. Done
On 2012/08/03 18:16:38, Tyler Breisacher wrote: > On 2012/07/27 03:53:42, Dai Mikurube wrote: > > > > I think false is fine here. > > Done lgtm thanks for catching this!
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tbreisacher@chromium.org/10824031/9001
Failed to request the patch to try. Please note that binary filesare still unsupported at the moment, this is being worked on. Thanks for your patience. HTTP Error 500: <h1>500 Server Error</h1>
Commit queue had an internal error. Something went really wrong, probably a crash, a hickup or simply the monkeys went out for dinner. The relevant dude was pinged already.
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tbreisacher@chromium.org/10824031/9001
Failed to apply patch for webkit/fileapi/file_system_usage_cache.cc: While running patch -p1 --forward --force; patching file webkit/fileapi/file_system_usage_cache.cc Hunk #1 FAILED at 86. Hunk #2 FAILED at 163. 2 out of 2 hunks FAILED -- saving rejects to file webkit/fileapi/file_system_usage_cache.cc.rej |