File php-CVE-2015-2348.patch of Package php5.openSUSE_Leap_42.1_Update

X-Git-Url: http://72.52.91.13:8000/?p=php-src.git;a=blobdiff_plain;f=ext%2Fstandard%2Fbasic_functions.c;h=c3e223048afaa30e087036e006adb0849babcccc;hp=9a9df3094bec559376bacfbb9e6737c28f91dfda;hb=1291d6bbee93b6109eb07e8f7916ff1b7fcc13e1;hpb=c8eaca013a3922e8383def6158ece2b63f6ec483

--- ext/standard/basic_functions.c
+++ ext/standard/basic_functions.c
@@ -5775,7 +5775,7 @@ PHP_FUNCTION(move_uploaded_file)
 		RETURN_FALSE;
 	}
 
-	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &path, &path_len, &new_path, &new_path_len) == FAILURE) {
+	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sp", &path, &path_len, &new_path, &new_path_len) == FAILURE) {
 		return;
 	}
openSUSE Build Service is sponsored by