Bug #68694 [Csd]: Uninitialized pointer read
| From: | bugreports at internot dot info | Date: | Thu, 08 Jan 2015 15:51:51 +0000 |
| Subject: | Bug #68694 [Csd]: Uninitialized pointer read | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-189746@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68694&edit=1
ID: 68694
User updated by: bugreports at internot dot info
Reported by: bugreports at internot dot info
Summary: Uninitialized pointer read
Status: Closed
Type: Bug
Package: *General Issues
Operating System: Linux Ubuntu 14.04
PHP Version: master-Git-2014-12-30 (Git)
Block user comment: N
Private report: N
New Comment:
Not a bug.
'tmp' must be NULL for this to work, which can not work, since tmp is allocated using
emalloc, which does not return NULL, but exits with out-of-memory.
Previous Comments:
------------------------------------------------------------------------
[2015-01-08 08:38:22] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=f3ea1b0b6a42a08093bf9191ad76fb4b5e0a653b
Log: Fixed #68694
------------------------------------------------------------------------
[2014-12-30 05:14:30] bugreports at internot dot info
Description:
------------
Hi,
In /ext/standard/url_scanner_ex.re, there is an uninitialized pointer read:
54 char *lasts;
[..]
72 for (key = php_strtok_r(tmp, ",", &lasts);
Thanks,
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68694&edit=1