ZF-12404: Zend_Amf_Util_BinaryStream - Undefined variable on an exception message
Description
Class : Zend_Amf_Util_BinaryStream Method = readByte() (line 128 ) the variable $length is undefined.
throw new Zend_Amf_Exception('Buffer underrun at needle position: ' . $this->_needle . ' while requesting length: ' . $length);
Patch to apply
throw new Zend_Amf_Exception('Buffer underrun at needle position: ' . $this->_needle . ' while requesting length: ' . $this->_streamLength);
Comments
Posted by Frank Brückner (frosch) on 2013-01-22T11:07:46.000+0000
Fixed on trunk (25240) and release-1.12 (25241)