[rtmpdump] AMF LongString decoding

Howard Chu hyc at highlandsun.com
Thu Mar 4 08:53:29 CET 2010


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

Thanks, slipped thru the cracks. Fixed now, and encoding is fixed too.

> 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).


More information about the rtmpdump mailing list