1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
From be9b2a95adb504abd5acdc092d770444ad6f6854 Mon Sep 17 00:00:00 2001
From: Stanislav Malyshev <stas@php.net>
Date: Sat, 9 May 2015 23:13:06 -0700
Subject: [PATCH] Fixed bug #69418 - more s->p fixes for filenames
---
ext/pcntl/pcntl.c | 74 +++++++++++++++++++++---------------------
ext/standard/basic_functions.c | 24 +++++++-------
ext/standard/dir.c | 62 +++++++++++++++++------------------
ext/standard/file.c | 10 +++---
4 files changed, 85 insertions(+), 85 deletions(-)
Index: php5-5.3.3.1/ext/pcntl/pcntl.c
===================================================================
--- php5-5.3.3.1.orig/ext/pcntl/pcntl.c 2015-07-28 14:08:39.000000000 +0200
+++ php5-5.3.3.1/ext/pcntl/pcntl.c 2015-07-28 14:10:33.000000000 +0200
@@ -669,7 +669,7 @@
int path_len;
ulong key_num;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|aa", &path, &path_len, &args, &envs) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|aa", &path, &path_len, &args, &envs) == FAILURE) {
return;
}
Index: php5-5.3.3.1/ext/standard/basic_functions.c
===================================================================
--- php5-5.3.3.1.orig/ext/standard/basic_functions.c 2015-07-28 14:08:39.000000000 +0200
+++ php5-5.3.3.1/ext/standard/basic_functions.c 2015-07-28 14:08:38.000000000 +0200
@@ -5475,7 +5475,7 @@
int new_value_len;
char *old_value;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &new_value, &new_value_len) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &new_value, &new_value_len) == FAILURE) {
return;
}
|