laruence Sun, 07 Aug 2011 05:19:55 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=314399
Log: Fixed the bug that temp may depend on a uninitialzed value Changed paths: U php/php-src/trunk/ext/phar/util.c Modified: php/php-src/trunk/ext/phar/util.c =================================================================== --- php/php-src/trunk/ext/phar/util.c 2011-08-07 05:08:08 UTC (rev 314398) +++ php/php-src/trunk/ext/phar/util.c 2011-08-07 05:19:55 UTC (rev 314399) @@ -124,7 +124,7 @@ int phar_seek_efp(phar_entry_info *entry, off_t offset, int whence, off_t position, int follow_links TSRMLS_DC) /* {{{ */ { php_stream *fp = phar_get_efp(entry, follow_links TSRMLS_CC); - off_t temp, eoffset; + off_t temp = 0, eoffset = 0; if (!fp) { return -1;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php