mirror of
https://github.com/php/php-src.git
synced 2026-04-05 07:02:33 +02:00
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
This commit is contained in:
@@ -1122,6 +1122,10 @@ static int phar_zip_applysignature(phar_archive_data *phar, struct _phar_zip_pas
|
||||
entry.fp = php_stream_fopen_tmpfile();
|
||||
entry.fp_type = PHAR_MOD;
|
||||
entry.is_modified = 1;
|
||||
if (entry.fp == NULL) {
|
||||
spprintf(pass->error, 0, "phar error: unable to create temporary file for signature");
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
PHAR_SET_32(sigbuf, phar->sig_flags);
|
||||
PHAR_SET_32(sigbuf + 4, signature_length);
|
||||
|
||||
Reference in New Issue
Block a user