[Bug 731349] queuearray: doesn't expand with initial size of 1, resulting in invalid memory access
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sat Jun 7 01:49:14 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=731349
GStreamer | gstreamer (core) | unspecified
Tim-Philipp Müller <t.i.m> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |t.i.m at zen.co.uk
Resolution| |FIXED
Target Milestone|HEAD |1.3.3
Summary|GstQueueArray doesn't |queuearray: doesn't expand
|expand when initial size is |with initial size of 1,
|1 |resulting in invalid memory
| |access
--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2014-06-07 08:49:12 UTC ---
Nice catch!
commit 9c4e1d36893e63d76347cee2099480cebbcd6589
Author: Tim-Philipp Müller <tim at centricular.com>
Date: Sat Jun 7 09:46:42 2014 +0100
tests: add unit test for queuearray expansion from 1
https://bugzilla.gnome.org/show_bug.cgi?id=731349
commit 1cd4bd64b04c71970148ae5e1de1e13602d21875
Author: Evan Nemerson <evan at nemerson.com>
Date: Fri Jun 6 16:36:00 2014 -0700
queuearray: fix expanding size of queue from 1
Without we would not actually expand and access
memory beyond the allocated region for the array.
https://bugzilla.gnome.org/show_bug.cgi?id=731349
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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