felipe                                   Thu, 23 Jun 2011 21:53:25 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=312419

Log:
- Missing valid path check

Changed paths:
    U   php/php-src/branches/PHP_5_4/ext/standard/basic_functions.c
    U   php/php-src/trunk/ext/standard/basic_functions.c

Modified: php/php-src/branches/PHP_5_4/ext/standard/basic_functions.c
===================================================================
--- php/php-src/branches/PHP_5_4/ext/standard/basic_functions.c 2011-06-23 
21:49:43 UTC (rev 312418)
+++ php/php-src/branches/PHP_5_4/ext/standard/basic_functions.c 2011-06-23 
21:53:25 UTC (rev 312419)
@@ -4610,7 +4610,7 @@
        int opt_err = 0, argc = ZEND_NUM_ARGS();
        long erropt = 0;

-       if (zend_parse_parameters(argc TSRMLS_CC, "s|lss", &message, 
&message_len, &erropt, &opt, &opt_len, &headers, &headers_len) == FAILURE) {
+       if (zend_parse_parameters(argc TSRMLS_CC, "s|lps", &message, 
&message_len, &erropt, &opt, &opt_len, &headers, &headers_len) == FAILURE) {
                return;
        }


Modified: php/php-src/trunk/ext/standard/basic_functions.c
===================================================================
--- php/php-src/trunk/ext/standard/basic_functions.c    2011-06-23 21:49:43 UTC 
(rev 312418)
+++ php/php-src/trunk/ext/standard/basic_functions.c    2011-06-23 21:53:25 UTC 
(rev 312419)
@@ -4640,7 +4640,7 @@
        int opt_err = 0, argc = ZEND_NUM_ARGS();
        long erropt = 0;

-       if (zend_parse_parameters(argc TSRMLS_CC, "s|lss", &message, 
&message_len, &erropt, &opt, &opt_len, &headers, &headers_len) == FAILURE) {
+       if (zend_parse_parameters(argc TSRMLS_CC, "s|lps", &message, 
&message_len, &erropt, &opt, &opt_len, &headers, &headers_len) == FAILURE) {
                return;
        }


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to