Michael Olbrich
fe6b76c64e
srtpdec: fix "srtp-key" check
...
The original code was:
if (!gst_structure_get (s, "srtp-key", GST_TYPE_BUFFER, &buf, NULL) || !buf) {
goto error;
} else {
stream->key = buf;
}
So use "srtp-key" if it is set so a non NULL buffer. The condition was
incorrectly inverted in ad7ffe64a66ab48d81671651031c449149db4973 to:
if (gst_structure_get (s, "srtp-key", GST_TYPE_BUFFER, &buf, NULL) || !buf) {
stream->key = buf;
} ...
Fix the condition so it works as originally intended and avoid accessing
'buf' uninitialised.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4401 >
2023-04-12 18:16:21 +00:00
..
2022-11-15 00:13:15 +11:00
2023-03-25 07:12:53 +00:00
2022-09-01 21:17:35 +00:00
2023-03-17 03:18:54 +00:00
2023-03-18 16:16:55 +02:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2023-04-12 08:57:03 +00:00
2023-01-30 19:46:55 +00:00
2022-09-01 21:17:35 +00:00
2023-03-29 10:03:36 +00:00
2023-03-17 03:18:54 +00:00
2022-09-01 21:17:35 +00:00
2023-01-08 03:49:03 +00:00
2023-03-17 03:18:54 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-11-04 17:59:21 +00:00
2022-09-01 21:17:35 +00:00
2022-09-05 17:48:27 +00:00
2022-09-01 21:17:35 +00:00
2022-11-10 09:53:29 +00:00
2022-09-01 21:17:35 +00:00
2023-03-21 08:57:34 +00:00
2023-03-17 03:18:54 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2023-03-17 03:18:54 +00:00
2022-11-04 17:59:21 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2023-03-17 03:18:54 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-11-22 22:36:34 +00:00
2023-03-18 16:16:55 +02:00
2022-09-01 21:17:35 +00:00
2022-12-30 17:10:12 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2023-03-25 06:03:02 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2023-03-27 07:37:11 +00:00
2023-03-17 03:18:54 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-11-11 10:13:27 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2023-03-02 15:39:25 +00:00
2023-04-12 18:16:21 +00:00
2023-02-14 11:59:48 +00:00
2023-01-24 15:25:07 +00:00
2023-03-27 07:37:11 +00:00
2023-01-24 15:25:07 +00:00
2022-09-01 21:17:35 +00:00
2022-09-16 00:14:58 +00:00
2023-03-23 22:18:47 +11:00
2023-03-15 18:42:54 +00:00
2022-09-01 21:17:35 +00:00
2023-03-16 15:17:58 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2023-02-28 13:43:23 +00:00
2023-03-17 03:18:54 +00:00
2022-09-01 21:17:35 +00:00
2023-03-10 09:33:35 +00:00
2023-02-03 22:14:18 +02:00