[FFmpeg-devel] Patch to fix RTMP URI parsing

Anders Rein are at vizrt.com
Wed Oct 16 14:28:42 CEST 2013


When parsing RTMP URI, ffmpeg concatenates a string after allocating it 
with av_malloc before setting the first character to zero. Valgrind 
shows this as "conditional jump or move depends on uninitialised 
value(s)". On some systems (like mine), this can cause random ascii 
characters in the filename being sendt to the RTMP streaming server.

This patch fixes this problem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Initialize-playpath-to-0-in-rtmpproto-to-avoid-trash.patch
Type: text/x-patch
Size: 711 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131016/c85f1537/attachment.bin>


More information about the ffmpeg-devel mailing list