[Bug 767908] jpeg2000parse: use enums for colorspace and sampling, rather than strings

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 1 12:03:48 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=767908

--- Comment #23 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Aaron: please note that sizeof(array) is not the same as G_N_ELEMENTS(array) :)

commit e92894e4ab344f8c0fa8ea69c231eaaee6b83ac8
Author: Tim-Philipp Müller <tim at centricular.com>
Date:   Fri Jul 1 12:20:14 2016 +0100

    codecparsers: jpeg2000: don't allow 0 value for array access with i-1

commit 1462ac7cdfb0e5202a299bcb8af3ac93d2a621a9
Author: Tim-Philipp Müller <tim at centricular.com>
Date:   Fri Jul 1 12:15:28 2016 +0100

    codecparsers: jpeg2000: fix possible out-of-bounds array access

    sizeof(array) != G_N_ELEMENTS(array).

    CID 1362900

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list