com php-src: ppid must be IS_STRING: ext/session/session .c
| From: | Xinchen Hui | Date: | Thu, 29 Jan 2015 04:35:18 +0000 |
| Subject: | com php-src: ppid must be IS_STRING: ext/session/session .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84439@lists.php.net to get a copy of this message | ||
Commit: 14396a3264d5e12bc0d310a9e2aa8226e58ae634
Author: Xinchen Hui <laruence@php.net> Thu, 29 Jan 2015 12:35:18 +0800
Parents: 4da7e4de295fa5716c093ff9b0c5c4555a8da52c
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=14396a3264d5e12bc0d310a9e2aa8226e58ae634
Log:
ppid must be IS_STRING
Changed paths:
M ext/session/session.c
Diff:
diff --git a/ext/session/session.c b/ext/session/session.c
index 1b2e082..0d666f6 100644
--- a/ext/session/session.c
+++ b/ext/session/session.c
@@ -1443,7 +1443,6 @@ static void ppid2sid(zval *ppid) {
PS(id) = NULL;
PS(send_cookie) = 1;
} else {
- convert_to_string(ppid);
PS(id) = zend_string_init(Z_STRVAL_P(ppid), Z_STRLEN_P(ppid), 0);
PS(send_cookie) = 0;
}