[rtmpdump] AMF LongString decoding

NhJm nhjm449 at gmail.com
Thu Mar 4 08:21:58 CET 2010

Sorry to bump an old thread, but I just realized this never got a response. :-)

On Wed, Jan 20, 2010 at 3:51 PM, NhJm <nhjm449 at gmail.com> wrote:
> Hi,
> 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
> restrictions).
-------------- 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/20100304/d844b4dc/attachment-0001.diff>

More information about the rtmpdump mailing list