jpegdec: Prevent crash when reading image with problems
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 19 Aug 2010 21:30:05 +0000 (18:30 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 19 Aug 2010 21:30:05 +0000 (18:30 -0300)
commit95d1b932abaf02f42c7a1539fbcc963b5f0b60b8
tree7003f8dca1e80856f8f92cb644367738f4244124
parent94eddc119f0721ca1d3433b13eef50effa606a42
jpegdec: Prevent crash when reading image with problems

Check if we have data on the adapter and fail if not.

Fixes #627413
ext/jpeg/gstjpegdec.c