Re: Segfaults in 1.7.4

Piotras <pp-VVDi8QVAvoBWk0Htik3J/[email protected]> Tue, 21 Feb 2006 17:43:08 +0100
Newsgroups gmane.comp.web.midgard.devel
Message-ID <[email protected]>
Torben Nehmer <[email protected]> wrote:

> I have just upgraded to current branch-1-7 cvs (which should be equivalent to
> 1.7.4):

I have talked with Torben about this today on #midgard channel.
This is branch problem , not release's one. 
Bad coinsidence for me personally :/

The problem is ( looks like it ) with add_order method.
It is enough to pass false ( not "false" ) as method parameter to trigger segfault  in execute method.

I suspect ( but did not make real tests yet ) that source of the problem is zend_parse_parameters 
function which forces type conversion. 
Do not ask me how false is converted. In the end it's converted by zend_convert_to_string to string.

Piotras