com php-src: Fix README.PARAMETER_PARSING_API: README .PARAMETER_PARSING_API
| From: | JulienPauli | Date: | Fri, 09 Jan 2015 13:52:23 +0000 |
| Subject: | com php-src: Fix README.PARAMETER_PARSING_API: README .PARAMETER_PARSING_API | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84040@lists.php.net to get a copy of this message | ||
Commit: 63346f4c4bf4ef5d33771d6d96f746a8516e0bcc
Author: Francois Laupretre <francois@tekwire.net> Wed, 7 Jan 2015 12:59:44 +0100
Committer: Julien Pauli <jpauli@php.net> Fri, 9 Jan 2015 14:52:23 +0100
Parents: b99dd1e89517597ee2efb35e675aeac08b7a5199
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=63346f4c4bf4ef5d33771d6d96f746a8516e0bcc
Log:
Fix README.PARAMETER_PARSING_API
Changed paths:
M README.PARAMETER_PARSING_API
Diff:
diff --git a/README.PARAMETER_PARSING_API b/README.PARAMETER_PARSING_API
index 46e190e..2d1f1c5 100644
--- a/README.PARAMETER_PARSING_API
+++ b/README.PARAMETER_PARSING_API
@@ -90,7 +90,7 @@ Note on 64bit compatibility
---------------------------
Please note that since version 7 PHP uses zend_long as integer type and
zend_string with size_t as length, so make sure you pass zend_longs to "l"
-and size_t to strings length (i.e. for "s" you need to pass char * and int),
+and size_t to strings length (i.e. for "s" you need to pass char * and size_t),
not the other way round!
Both mistakes might cause memory corruptions and segfaults: