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

Issue 11229048: libwebp: validate chunk size in ParseOptionalChunks (Closed)

Created:
8 years, 2 months ago by jzern
Modified:
8 years, 2 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

libwebp: validate chunk size in ParseOptionalChunks the max wasn't checked leading to a rollover case, possibly exploitable. additionally check the RIFF size early, to avoid similar issues. BUG=157079 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=163677

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M third_party/libwebp/README.chromium View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/libwebp/dec/webp.c View 2 chunks +6 lines, -0 lines 2 comments Download

Messages

Total messages: 11 (0 generated)
fgalligan1
lgtm
8 years, 2 months ago (2012-10-23 02:06:21 UTC) #1
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
8 years, 2 months ago (2012-10-23 04:55:18 UTC) #2
jzern
This is ready to land, just need a committer lgtm...
8 years, 2 months ago (2012-10-23 05:10:25 UTC) #3
pascal.massimino
lgtm lgtm
8 years, 2 months ago (2012-10-23 08:24:33 UTC) #4
fbarchard
lgtm http://codereview.chromium.org/11229048/diff/1/third_party/libwebp/dec/webp.c File third_party/libwebp/dec/webp.c (right): http://codereview.chromium.org/11229048/diff/1/third_party/libwebp/dec/webp.c#newcode184 third_party/libwebp/dec/webp.c:184: return VP8_STATUS_BITSTREAM_ERROR; // Not a valid chunk size. ...
8 years, 2 months ago (2012-10-23 19:05:04 UTC) #5
jzern
http://codereview.chromium.org/11229048/diff/1/third_party/libwebp/dec/webp.c File third_party/libwebp/dec/webp.c (right): http://codereview.chromium.org/11229048/diff/1/third_party/libwebp/dec/webp.c#newcode184 third_party/libwebp/dec/webp.c:184: return VP8_STATUS_BITSTREAM_ERROR; // Not a valid chunk size. On ...
8 years, 2 months ago (2012-10-23 19:23:22 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jzern@chromium.org/11229048/1
8 years, 2 months ago (2012-10-23 19:23:46 UTC) #7
kenrb
On 2012/10/23 05:10:25, jzern wrote: > This is ready to land, just need a committer ...
8 years, 2 months ago (2012-10-23 20:25:25 UTC) #8
jzern
On 2012/10/23 20:25:25, kenrb wrote: > On 2012/10/23 05:10:25, jzern wrote: > > This is ...
8 years, 2 months ago (2012-10-23 20:39:19 UTC) #9
jzern
On 2012/10/23 20:39:19, jzern wrote: > On 2012/10/23 20:25:25, kenrb wrote: > > On 2012/10/23 ...
8 years, 2 months ago (2012-10-23 20:39:30 UTC) #10
commit-bot: I haz the power
8 years, 2 months ago (2012-10-23 21:17:28 UTC) #11
Change committed as 163677

Powered by Google App Engine
This is Rietveld 408576698