Date: 05/24/00
- Next message: Mike Robinson: "RE: [PHP-DEV] Flash File Format (SWF)"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] PHP 4.0 Bug #4558: segfault on client request (linux & mod_php )"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] Possible bug in wddx_a.c in PHP-3.0.16"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] Possible bug in wddx_a.c in PHP-3.0.16"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I searched the archives for mateches, and came across some similar cases
back in PHP-3.0.8. The developer that wrote the WDDX code said he could
not reproduce this. I would be more than happy to provide data that will
cause the Apache PHP module to seg fault. When run with PHP standalone,
serializing this data produces the attached output. Here is a sample:
---------------------------------------
Block 0x084A03C0 status at functions/wddx_a.c:206:
Beginning: OK (allocated on functions/wddx_a.c:236, 24 bytes)
End: Overflown (magic=0x2A8FCC00 instead of 0x2A8FCC84)
1 byte(s) overflown
---------------------------------------
Basically, I'm serializing a fair amount of data (~ 100K). If I try
serializing smaller amounts of data, I do not run into this problem. I'm
using expat-1.1 with PHP-3.0.16 on FreeBSD 3.4-RELEASE. I build PHP out
of the ports collection and integrated with Apache 3.0.12. Also, I built
a standalone PHP application to test scripts. This standalone also is
built against expat-1.1 The same data is serialized properly using Perl's
WDDX 1.0 module. If I can, I'll file a bug against this, but bugs.php.net
seemed to be down. Any help would be appreciated. Thanks!
Joe Clarke
-- Joe Clarke, CCIE #5384 | | Customer Support Engineer ||||| ||||| Phone: +1 (919) 392-2867 ..:|||||||||::|||||||||:.. Email: jclarke <email protected> c i s c o S y s t e m s----------------------------------------------------------------------------
- TEXT/PLAIN attachment: php_wddx.bug
-- 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: Mike Robinson: "RE: [PHP-DEV] Flash File Format (SWF)"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] PHP 4.0 Bug #4558: segfault on client request (linux & mod_php )"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] Possible bug in wddx_a.c in PHP-3.0.16"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] Possible bug in wddx_a.c in PHP-3.0.16"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

