gstreamer/subprojects/gst-plugins-base/gst-libs/gst
Max Romanov 09257b391c rtspconnection: Handle invalid argument properly
In case when conn->input_stream is NULL and glib was built with
"glib_checks" enabled, g_pollable_input_stream_read_nonblocking()
returns -1, but does not set the "err".

The call stack:
  read_bytes() ->
    fill_bytes() ->
      fill_raw_bytes()

The return value -1 passed up to read_bytes() and incorrectly
processed there after "error:" label.

This changes the return value to EINVAL.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7210>
2024-08-06 03:50:34 +00:00
..
allocators shmallocator: fix build on Illumos 2024-03-13 18:48:27 +00:00
app gst: Move GstQueueArray as GstVecDeque to core 2024-05-06 18:25:42 +00:00
audio audioringbuffer: Avoid overflows of segment done counter 2024-05-16 06:52:58 +00:00
fft gst-plugins-base: re-indent with GNU indent 2.2.12 2023-03-17 03:18:53 +00:00
gl glframebuffer: Improve error tracing 2024-08-02 13:03:51 +00:00
pbutils codec-utils: Recognise mjpg mime type 2024-07-30 00:06:50 +00:00
riff riff: add more h265 fourcc formats 2023-07-17 13:17:20 +00:00
rtp rtp: add value annotation for GST_RTP_VALID_VALUE 2024-04-29 18:27:40 +00:00
rtsp rtspconnection: Handle invalid argument properly 2024-08-06 03:50:34 +00:00
sdp sdp: accept empty attribute value represented as a NULL pointer 2024-03-08 10:28:15 +00:00
tag exiftag: Prevent integer overflows and out of bounds reads when handling undefined tags 2024-04-29 20:06:22 +00:00
video gstvideoaggregator: preserve features in non-alpha caps 2024-07-18 14:17:45 +02:00
glib-compat-private.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
meson.build sdp: Handle level-asymmetry-allowed for H264 streams 2021-12-12 10:59:00 -03:00