File php-5.3.3-CVE-2010-3709.patch of Package php5
--- ext/zip/php_zip.c 2010/09/20 12:48:27 303622
+++ ext/zip/php_zip.c 2010/10/19 09:55:36 304505
@@ -1961,6 +1961,9 @@
}
comment = zip_get_archive_comment(intern, &comment_len, (int)flags);
+ if(comment==NULL) {
+ RETURN_FALSE;
+ }
RETURN_STRINGL((char *)comment, (long)comment_len, 1);
}
/* }}} */