jrdeng / libyuv

Automatically exported from code.google.com/p/libyuv (2015-08-19)
http://code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

ValidateJPeg crash #478

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Validate jpeg has been reported with logotech c9000 camera frames on linux.
C9000 has known framing errors.
Invalid frames will be passed to ValidateJPeg.  But it should gracefully fail.

Original issue reported on code.google.com by fbarch...@chromium.org on 27 Jul 2015 at 11:11

GoogleCodeExporter commented 9 years ago
fixed by scanning from start of buffer.
consider followup that avoids ValidateJpeg call in jpeg decoder.  Have calling 
code run Validate.

Original comment by fbarch...@chromium.org on 7 Aug 2015 at 7:34