Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
playground
:
zpanel
>
zpphp
> php-5.3.3-CVE-2010-3709.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php-5.3.3-CVE-2010-3709.patch of Package zpphp
https://bugzilla.redhat.com/show_bug.cgi?id=651206 http://svn.php.net/viewvc?view=revision&revision=304505 --- php-5.3.3/ext/zip/php_zip.c.cve3709 +++ php-5.3.3/ext/zip/php_zip.c @@ -1961,6 +1961,9 @@ static ZIPARCHIVE_METHOD(getArchiveComme } comment = zip_get_archive_comment(intern, &comment_len, (int)flags); + if(comment==NULL) { + RETURN_FALSE; + } RETURN_STRINGL((char *)comment, (long)comment_len, 1); } /* }}} */