[Bug 795596] rtspconnection: GError set over the top of a previous GError or uninitialized memory.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Aug 27 06:09:56 UTC 2018


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

--- Comment #8 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
(In reply to Nils Öhnell from comment #7)
> > What error is being returned in this case where it returns a non-negative number as well?
> The returned error is depending on the G_IO_ERROR with GST_RTSP_ESYS as
> default, as before.

I think the question was what the actual GIO error is that happens here

> > Is this intentional and expected or perhaps a bug in the underlying code in GLib?
> Well, the GLib documentation states "the number of bytes ..., or -1 on
> error" for both the underlying GLib functions
> (g_pollable_output_stream_write_nonblocking and
> g_pollable_input_stream_read_nonblocking), so at least one could say that
> the GLib implementation does not match the GLib documentation.

Can you file a bug about that again GLib? This is definitely not correct, both
for the given documentation and the behaviour that code relies on everywhere
with regards to these functions.

Does this happen with direct TCP connections, or via TLS, or ...?

-- 
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