Re: Re: domxml patch from 31 May breaks xslt_process

From: Date: Wed, 19 Jun 2002 15:13:34 +0000
Subject: Re: Re: domxml patch from 31 May breaks xslt_process
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-85370@lists.php.net to get a copy of this message
On Wed, 19 Jun 2002, Brad LaFountain wrote: > > Just looking at the code quick.. > > I changed the DOMXML_RET_OBJ() macro so that you can pass in an already > instantated object. So if the first parameter isn't null then it will assume > that the object has been created. Sooo.... > > The variable rv in domxml_xslt_process() isn't initalized to NULL so the macro > is assuming it has already been create.. which it hasn't. > > change: > zval *rv, *idxsl, *idxml, *idparams = NULL; > > to: > zval *rv = NULL, *idxsl, *idxml, *idparams = NULL; that did indeed solve the problem :) > I'm not at my development machine so i can't patch it myself. patched it. chregu

« previous php.dev (#85370) next »