Skip to content

Commit 8f19a8d

Browse files
committed
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
* 'PHP-5.5' of git.php.net:php-src: When src->src is null this doesn't get initialized but it is still used, so the passed in *ze will point to unitialized memory. Hopefully src->src is never null, but just in case this initialization doesn't hurt.
2 parents 8bef8e6 + 910d475 commit 8f19a8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/zip/lib/zip_source_error.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
ZIP_EXTERN(void)
4141
zip_source_error(struct zip_source *src, int *ze, int *se)
4242
{
43-
int e[2];
43+
int e[2] = { 0, 0 };
4444

4545
if (src->src == NULL) {
4646
}

0 commit comments

Comments
 (0)