[Bug 795596] GError set over the top of a previous GError or uninitialized memory.
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Apr 27 10:03:11 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=795596
Nils Öhnell <nils.ohnell at axis.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nils.ohnell at axis.com
--- Comment #1 from Nils Öhnell <nils.ohnell at axis.com> ---
Created attachment 371454
--> https://bugzilla.gnome.org/attachment.cgi?id=371454&action=edit
Patch to address the problem
The proposed patch goes to error not only when returned number of bytes is
non-negative but also when err is set.
This change required some rework of the error handling.
The function write_bytes() is aligned to the read_byte() function for handling
the case where returned bytes is zero.
--
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