[rtmpdump] AMF LongString decoding

NhJm nhjm449 at gmail.com
Wed Jan 20 22:51:24 CET 2010


Attached a patch to fix the decoding of AMF_LONG_STRINGs. Previous
code treated it as a 16-bit length string.

Does not fix encoding of long strings. There will probably be some
nasty overflow if someone tries to encode a string that's too long,
and I see no code currently preventing that (apart from buffer length
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtmpdump-r160-longstring.diff
Type: text/x-diff
Size: 1185 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20100120/2fb5ed56/attachment.diff>

More information about the rtmpdump mailing list