Re: Possible bug in wddx_a.c in PHP-3.0.16

From: Date: Thu, 25 May 2000 13:28:53 +0000
Subject: Re: Possible bug in wddx_a.c in PHP-3.0.16
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-19426@lists.php.net to get a copy of this message
Andrei, can you send me a patch? Thanks. Joe Clarke -- Joe Clarke, CCIE #5384 | | Customer Support Engineer ||||| ||||| Phone: +1 (919) 392-2867 ..:|||||||||::|||||||||:.. Email: jclarke@cisco.com c i s c o S y s t e m s ---------------------------------------------------------------------------- On Thu, 25 May 2000, Andrei Zmievski wrote: > On Wed, 24 May 2000, Joe Clarke wrote: > > 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! > > Thanks, I fixed it in the CVS. > > -Andrei > * Software never has bugs. It just develops random features. * > > >

« previous php.dev (#19426) next »