[rtmpdump] [PATCH] Use proper format conversions for seekTime and stopTime

Martin Storsjö martin at martin.st
Sun Mar 28 19:26:26 CEST 2010


The logging line in SendPlay uses float conversions for seekTime and 
stopTime, even if they are ints. This makes vsnprintf in RTMP_Log read too 
far on the stack and read an incorrect pointer where it should read 
r->Link.playpath.av_val, potentially leading to a crash.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Use-proper-formats-for-logging-seekTime-and-stopTime.patch
Type: text/x-diff
Size: 1048 bytes
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20100328/b68b4313/attachment.patch>

More information about the rtmpdump mailing list