Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC
Commits:
29b742d3 by Francois Cartegnie at 2022-04-23T08:13:03+00:00
sout: udp: fix segfault parsing config chain
ex: --sout="{foo}"
- - - - -
1 changed file:
- modules/stream_out/udp.c
Changes:
=====================================
modules/stream_out/udp.c
=====================================
@@ -231,7 +231,7 @@ static int Open(vlc_object_t *obj)
if (strcmp(c->psz_name, "access") == 0)
break;
- if (c == NULL) /* default is file, not for us */
+ if (c == NULL || c->psz_value == NULL) /* default is file, not for us
*/
return VLC_ENOTSUP;
if (strcmp(c->psz_value, "udp"))
return VLC_ENOTSUP;
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/29b742d3a76eb8f36b1fe93aec101f2b4fcd14f3
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/29b742d3a76eb8f36b1fe93aec101f2b4fcd14f3
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits