Edit report at https://bugs.php.net/bug.php?id=68665&edit=1
ID: 68665
Updated by: ab@php.net
Reported by: honey at internot dot info
Summary: Invalid free
Status: Closed
Type: Bug
Package: *General Issues
Operating System: Linux Ubuntu 14.04
PHP Version: master-Git-2014-12-28 (Git)
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
Yeah, i made it http://git.php.net/?p=php-src.git;a=blob;t;h=74ff01da332d7e9cf419dbaadec6487c4a78e2ef
. However it seems that run-tests.php isn't able to repro this. Namely, it needs the ini not to
be passed on command line, but to load a true ini file. But that's another topic about the
module loading order. Using the test code and an ini file the latest fix in master should be
cleared.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2014-12-28 17:45:15] honey at internot dot info
Did you make a test-case? If so, could you paste it here?
Thanks
------------------------------------------------------------------------
[2014-12-28 15:39:06] ab@php.net
@honey, ok, this is fixed. Was reproducable only with big5 in mbstring. Thanks.
------------------------------------------------------------------------
[2014-12-28 13:21:43] ab@php.net
@honey, the first one is a good catch, affects also 5.6. But with the second one - can you provide a
test case for that?
Thanks
------------------------------------------------------------------------
[2014-12-28 13:03:07] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=a72cd07f2983dc43a6bb35209dc4687852e53c09
Log: Fixed bug #68665 (Invalid free)
------------------------------------------------------------------------
[2014-12-28 04:01:32] honey at internot dot info
And in /Zend/zend_language_scanner.l:
1934 s = Z_STRVAL_P(zendlval);
[..]
1938 efree(s);
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=68665
--
Edit this bug report at https://bugs.php.net/bug.php?id=68665&edit=1