Date: 12/06/00
- Next message: nels <email protected>: "[PHP-DEV] PHP 4.0 Bug #5906 Updated: PHP 4.0RC2 or higher with CLibPDF fails to compile on RedHat 5.2"
- Previous message: joey <email protected>: "[PHP-DEV] PHP 4.0 Bug #8139 Updated: NULL and isset"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] zend_hash_add_or_update flaw"
- Maybe reply: Andi Gutmans: "Re: [PHP-DEV] zend_hash_add_or_update flaw"
- Maybe reply: Andi Gutmans: "Re: [PHP-DEV] zend_hash_add_or_update flaw"
- Maybe reply: Andi Gutmans: "Re: [PHP-DEV] zend_hash_add_or_update flaw"
- Maybe reply: Andi Gutmans: "Re: [PHP-DEV] zend_hash_add_or_update flaw"
- Maybe reply: Andi Gutmans: "Re: [PHP-DEV] zend_hash_add_or_update flaw"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
the OnUpdateTags function exposed an apparent flaw in
zend_hash_add_or_update(). The macro INIT_DATA assumes that a
data element of the size sizeof(void *) is always a pointer
to a pointer and tries to dereference it.
The attached patch fixes that flaw and uses pDataPtr to
generally speed up storage of small elements.
Comments?
- Sascha
- TEXT/PLAIN attachment: difx
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: nels <email protected>: "[PHP-DEV] PHP 4.0 Bug #5906 Updated: PHP 4.0RC2 or higher with CLibPDF fails to compile on RedHat 5.2"
- Previous message: joey <email protected>: "[PHP-DEV] PHP 4.0 Bug #8139 Updated: NULL and isset"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] zend_hash_add_or_update flaw"
- Maybe reply: Andi Gutmans: "Re: [PHP-DEV] zend_hash_add_or_update flaw"
- Maybe reply: Andi Gutmans: "Re: [PHP-DEV] zend_hash_add_or_update flaw"
- Maybe reply: Andi Gutmans: "Re: [PHP-DEV] zend_hash_add_or_update flaw"
- Maybe reply: Andi Gutmans: "Re: [PHP-DEV] zend_hash_add_or_update flaw"
- Maybe reply: Andi Gutmans: "Re: [PHP-DEV] zend_hash_add_or_update flaw"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

