cowboy me, 2.0: jose nazario beauty and the street


bug hunting: PHP



more bug hunting via google codesearch. filed with PHP.

--- php5.2-200610071830/ext/spl/spl_iterators.c.orig    Sat Oct  7 14:53:43 2006
+++ php5.2-200610071830/ext/spl/spl_iterators.c Sat Oct  7 14:54:16 2006
@@ -2217,7 +2217,7 @@
                zend_throw_exception(spl_ce_InvalidArgumentException, "Unsetting flag TOSTRING_USE_INNER is not possible", 0 TSRMLS_CC);
                return;
        }
-       if ((flags && CIT_FULL_CACHE) != 0 && (intern->u.caching.flags & CIT_FULL_CACHE) == 0) {
+       if ((flags & CIT_FULL_CACHE) != 0 && (intern->u.caching.flags & CIT_FULL_CACHE) == 0) {
                /* clear on (re)enable */
                zend_hash_clean(HASH_OF(intern->u.caching.zcache));
        }

|

----

next Saturday, Oct 07, 2006 @ 02:00pm | previous Saturday, Oct 07, 2006 @ 01:49pm | archives

Last modified: Saturday, Oct 07, 2006 @ 01:55pm
Weblog Commenting and Trackback by HaloScan.com

Your Ad Here

copyright © 2002-2014 jose nazario, all rights reserved.