]> granicus.if.org Git - php/commitdiff
we don't want to modify the pointer contents, we just want to change the pointer...
authorAntony Dovgal <tony2001@php.net>
Fri, 1 Feb 2008 11:25:59 +0000 (11:25 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 1 Feb 2008 11:25:59 +0000 (11:25 +0000)
ext/phar/phar_object.c

index 1b5cb494c6bfdded39897b224e3a88437a00908b..13306edb0f20e1bec14fc4be1927236ae4107476 100755 (executable)
@@ -1075,7 +1075,7 @@ static int phar_build(zend_object_iterator *iter, void *puser TSRMLS_DC)
                                                        efree(fname);
                                                        return ZEND_HASH_APPLY_KEEP;
                                                }
-                                               test = expand_filepath(fname, test TSRMLS_CC);
+                                               test = expand_filepath(fname, NULL TSRMLS_CC);
                                                if (test) {
                                                        efree(fname);
                                                        fname = test;