On 01/15/2007 11:50 PM, Arnold Daniels wrote:
Hi,

I could use some help on an extension I've written. It worked fine before, but from out the blue I started to get segmentation faults. I've located it down to this piece of code, but I don't do any writes to the code memory, so I don't get what's wrong. It seems like the error lies in the 'ret != NULL'.

The module compiled against php 5.1.6 and runs under linux version 2.6.15.4 (Debian).

-     zval *ret;
+     zval *ret = NULL;

--
Wbr, Antony Dovgal

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to