-
-
Save anonymous/f4bc6912ba9c2144f83032ca769f7d2b to your computer and use it in GitHub Desktop.
Patch for 72520
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 81406c0c1d45f75fcc7972ed974d2597abb0b9e9 | |
Author: Stanislav Malyshev <stas@php.net> | |
Date: Tue Jul 12 22:03:40 2016 -0700 | |
Fix fir bug #72520 | |
diff --git a/ext/zip/zip_stream.c b/ext/zip/zip_stream.c | |
index 400edd6..a9192d2 100644 | |
--- a/ext/zip/zip_stream.c | |
+++ b/ext/zip/zip_stream.c | |
@@ -241,7 +241,7 @@ php_stream *php_stream_zip_opener(php_stream_wrapper *wrapper, | |
char **opened_path, | |
php_stream_context *context STREAMS_DC TSRMLS_DC) | |
{ | |
- int path_len; | |
+ size_t path_len; | |
char *file_basename; | |
size_t file_basename_len; | |
@@ -250,7 +250,7 @@ php_stream *php_stream_zip_opener(php_stream_wrapper *wrapper, | |
struct zip *za; | |
struct zip_file *zf = NULL; | |
char *fragment; | |
- int fragment_len; | |
+ size_t fragment_len; | |
int err; | |
php_stream *stream = NULL; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment