File php-CVE-2016-6297.patch of Package php5.14673

Index: php-5.6.1/ext/zip/zip_stream.c
===================================================================
--- php-5.6.1.orig/ext/zip/zip_stream.c	2014-10-01 11:17:38.000000000 +0200
+++ php-5.6.1/ext/zip/zip_stream.c	2016-08-03 09:28:48.233978596 +0200
@@ -257,7 +257,7 @@ php_stream *php_stream_zip_opener(php_st
 											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;
@@ -266,7 +266,7 @@ php_stream *php_stream_zip_opener(php_st
 	struct zip *za;
 	struct zip_file *zf = NULL;
 	char *fragment;
-	int fragment_len;
+       size_t fragment_len;
 	int err;
 
 	php_stream *stream = NULL;
openSUSE Build Service is sponsored by