[Bug 748321] gstinfo: gst_debug_unset_threshold_for_name() is an infinite loop for more than one list entry
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Apr 23 03:23:58 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=748321
Tim-Philipp Müller <t.i.m at zen.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |t.i.m at zen.co.uk
Resolution|--- |FIXED
Target Milestone|git master |1.4.6
--- Comment #3 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Thanks a lot, pushed:
commit 6aee4af0346dfc5054da5ec71f4fddbebd8b9305
Author: Jason Litzinger <jlitzinger at control4.com>
Date: Wed Apr 22 11:04:06 2015 -0600
tests: info: add test case to reproduce infinite loop
gst_debug_unset_threshold_for_name() used to go into an
infinite loop when there was more than one category in
the list. This test captures the problem by failing
via timeout.
https://bugzilla.gnome.org/show_bug.cgi?id=748321
commit 1b881ecc26e3eeebf35ee042e170367ae228b26f
Author: Jason Litzinger <jlitzinger at control4.com>
Date: Wed Apr 22 12:03:33 2015 -0600
gstinfo: fix infinite loop in gst_debug_unset_threshold_for_name()
Ensure iterator is advanced. The current list iteration code only
advances the iterator (walk) if a match is found, which results
in an infinite loop when more than one entry exists in the list.
https://bugzilla.gnome.org/show_bug.cgi?id=748321
--
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