• Barmand Toumiret's avatar
    sdp: fix null format string passed to vsnprintf · 787a2066
    Barmand Toumiret authored
    When rtcp-mux is used, sdp_AddAttribute is called with a null
    format string, which means to write an SDP property attribute
    (without value), which is a different from an empty format string,
    that writes an SDP value attribute with an empty value.
    
    This fixes vsdp_AddAttribute so that it correctly writes a
    property attribute to the SDP description rather than incorrectly
    calling vsnprintf with a null format string (an undefined behaviour
    which segfaults on Windows) and writing a value attribute with
    an empty value.
    Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
    787a2066
Name
Last commit
Last update
..
android Loading commit data...
audio_output Loading commit data...
clock Loading commit data...
config Loading commit data...
darwin Loading commit data...
extras Loading commit data...
input Loading commit data...
interface Loading commit data...
linux Loading commit data...
media_source Loading commit data...
misc Loading commit data...
modules Loading commit data...
network Loading commit data...
os2 Loading commit data...
playlist Loading commit data...
posix Loading commit data...
preparser Loading commit data...
stream_output Loading commit data...
test Loading commit data...
text Loading commit data...
video_output Loading commit data...
win32 Loading commit data...
.gitignore Loading commit data...
Makefile.am Loading commit data...
check_headers Loading commit data...
check_symbols Loading commit data...
libvlc-module.c Loading commit data...
libvlc.c Loading commit data...
libvlc.h Loading commit data...
libvlc_win32_rc.rc.in Loading commit data...
libvlccore.sym Loading commit data...
missing.c Loading commit data...
version.c Loading commit data...
vlc-plugin.pc.in Loading commit data...