1

Closed

Possible bug in Amf3Reader.cs

description

Hi
 
I think i have found a bug in Amf3Reader.cs
 
private object ReadAmf3Object(int classHandle)
{
ClassDefinition classDefinition = ReadAmfClassDefinition(classHandle);
object result = ReadAmf3Object(classDefinition);
AddAmf3ObjectReference(result);
return result;
}
 
You add the "result" to the object reference list, but the method ReadAmf3Object(classDefinition) allready adds the object to the list!
 
Thank you for your great work,
Bernhard
Closed Mar 27, 2010 at 6:05 PM by mdekrey

comments

mdekrey wrote Mar 27, 2010 at 6:05 PM

That's a really good find. I haven't worked with Amf3 at all yet, so I guess I wouldn't have caught this.

It's fixed in subversion already for you.

wrote Mar 27, 2010 at 6:05 PM

wrote Feb 14, 2013 at 1:08 AM

wrote May 16, 2013 at 4:20 AM