GNOME Bugzilla – Bug 604106
[jpegdec] Crash in jpeg_idct_ifast if more than 3 components
Last modified: 2010-04-25 23:23:06 UTC
Created attachment 149363 [details] Crasher jpeg gstreamer-0.10.25.1-2.fc12.x86_64 gstreamer-plugins-base-0.10.25.1-2.fc12.x86_64 gstreamer-plugins-good-0.10.17-3.fc12.x86_64 Crasher file attached. $ gst-launch playbin2 uri=file:///home/hadess/Desktop/rb-crasher.jpg (gst-launch-0.10:9785): GLib-WARNING **: g_set_prgname() called multiple times Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Caught SIGSEGV accessing address (nil) 347 outptr[0] = range_limit[IDESCALE(tmp0 + tmp7, PASS1_BITS+3) Missing separate debuginfos, use: debuginfo-install gstreamer-0.10.25.1-2.fc12.x86_64 (gdb) bt
+ Trace 219504
From downstream: https://bugzilla.redhat.com/show_bug.cgi?id=539503
Thanks for the test file. I can reproduce this. Probably crashes because the image has 4 components but our code assumes there won't be more than 3.
commit 6b2a0c7c46616f8148e846a17f5675b0000f07cf Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Sun Apr 25 15:12:20 2010 +0100 jpegdec: don't crash if jpeg image contains more than three components Our code currently only handles a maximum of 3 components, so error out for now if the image has more components than that. Fixes #604106.