Issue Details (XML | Word | Printable)

Key: ZF-6393
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Wade Arnold
Reporter: Stefan Klug
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Zend Framework

Wrong AMF0_AMF3 reference counting

Created: 23/Apr/09 08:25 AM   Updated: 16/Jun/09 02:36 PM   Resolved: 16/Jun/09 02:36 PM
Return to search "Fixed in 1.5.1"
Component/s: Zend_Amf
Affects Version/s: 1.7.8
Fix Version/s: 1.8.4

Time Tracking:
Not Specified

File Attachments: 1. Text File Amf0_Deserializer.patch (2 kB)

Issue Links:
Dependency
 


 Description  « Hide

If there is more than one body part in a mixed AMF0/AMF3 message, and there are complex parameters (Anonymous and Typed objects) used, The requests will fail.
The reason is, that the AMF3 protocol restarts reference counting when it switches from AMF0 to AMF3 mode, but the current AMF0 deserializer reuses the last used AMF3 deserializer, and therefore doesn't restart reference counting.

This bug is also the reason for bug ZF-5049/5382

I attached a patch which fixes the problem.

Regards Stefan



Andreas Adam added a comment - 28/May/09 09:11 AM

Great Work Stefan! All our problem are blowing away!
Now it runs fine!


Wade Arnold added a comment - 16/Jun/09 02:36 PM

Patch has been added to the standard trunk and will be updated with the next mini release of ZF