Parent Directory | Revision Log | Revision Graph
Import upstream sources
1 | --- php-5.3.2/ext/zip/php_zip.c.cve3709 |
2 | +++ php-5.3.2/ext/zip/php_zip.c |
3 | @@ -1961,6 +1961,9 @@ static ZIPARCHIVE_METHOD(getArchiveComme |
4 | } |
5 | |
6 | comment = zip_get_archive_comment(intern, &comment_len, (int)flags); |
7 | + if(comment==NULL) { |
8 | + RETURN_FALSE; |
9 | + } |
10 | RETURN_STRINGL((char *)comment, (long)comment_len, 1); |
11 | } |
12 | /* }}} */ |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |