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

Issue 12047012: Avoid integer overflows in BlobURLRequestJob. (Closed)

Created:
7 years, 11 months ago by aedla
Modified:
7 years, 10 months ago
Reviewers:
kinuko, michaeln
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : going back to int64 from uint64 #

Total comments: 2

Patch Set 3 : simplify BlobURLRequestJob::AddItemLength #

Patch Set 4 : remove static initializer #

Total comments: 1

Patch Set 5 : use kint64max #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -19 lines) Patch
M webkit/blob/blob_url_request_job.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M webkit/blob/blob_url_request_job.cc View 1 2 3 4 5 chunks +50 lines, -19 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
aedla
@kinuko: maybe you could take a look at this or suggest someone else?
7 years, 11 months ago (2013-01-22 10:40:55 UTC) #1
aedla
Main changes: 1) No negative values in ComputeBytesToRead as everything is unsigned. 2) total_size_ can't ...
7 years, 11 months ago (2013-01-22 10:41:22 UTC) #2
aedla
If you think going to uint64 causes problems, I can go back to int64 and ...
7 years, 11 months ago (2013-01-22 10:43:05 UTC) #3
kinuko
Thanks so much to work on this, this issue was (kinda) impressive! On 2013/01/22 10:43:05, ...
7 years, 11 months ago (2013-01-22 11:48:12 UTC) #4
aedla
> Thanks so much to work on this, this issue was (kinda) impressive! Thanks! > ...
7 years, 11 months ago (2013-01-23 14:47:14 UTC) #5
kinuko
lgtm w/ some style nits https://codereview.chromium.org/12047012/diff/2002/webkit/blob/blob_url_request_job.cc File webkit/blob/blob_url_request_job.cc (right): https://codereview.chromium.org/12047012/diff/2002/webkit/blob/blob_url_request_job.cc#newcode193 webkit/blob/blob_url_request_job.cc:193: if (enough_space) { nit: ...
7 years, 11 months ago (2013-01-25 08:01:03 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aedla@chromium.org/12047012/8001
7 years, 10 months ago (2013-01-28 14:18:31 UTC) #7
commit-bot: I haz the power
Change committed as 179154
7 years, 10 months ago (2013-01-28 16:24:44 UTC) #8
aedla
Reverted because of a static initializer. Removed it, going for another run.
7 years, 10 months ago (2013-01-29 10:56:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aedla@chromium.org/12047012/20001
7 years, 10 months ago (2013-01-29 10:58:30 UTC) #10
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 10 months ago (2013-01-29 11:46:07 UTC) #11
aedla
Hm, the compile failure looks unrelated to this change. Also, yesterday all the tries succeeded.
7 years, 10 months ago (2013-01-29 12:40:36 UTC) #12
kinuko
win try bot is broken right now and never compiles (trying some reverts now) http://build.chromium.org/p/tryserver.chromium/builders/win/
7 years, 10 months ago (2013-01-29 12:58:30 UTC) #13
michaeln
https://codereview.chromium.org/12047012/diff/20001/webkit/blob/blob_url_request_job.cc File webkit/blob/blob_url_request_job.cc (right): https://codereview.chromium.org/12047012/diff/20001/webkit/blob/blob_url_request_job.cc#newcode189 webkit/blob/blob_url_request_job.cc:189: if (item_length > std::numeric_limits<int64>::max() - total_size_) { base/basictypes.h defines ...
7 years, 10 months ago (2013-01-29 20:22:43 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aedla@chromium.org/12047012/14002
7 years, 10 months ago (2013-01-31 14:21:37 UTC) #15
commit-bot: I haz the power
7 years, 10 months ago (2013-01-31 17:30:40 UTC) #16
Message was sent while issue was closed.
Change committed as 179901

Powered by Google App Engine
This is Rietveld 408576698