Bug #66873 [Asn->Csd]: A reproductible crash in UConverter when given invalid encoding
Edit report at https://bugs.php.net/bug.php?id=66873&edit=1
ID: 66873
Updated by: stas@php.net
Reported by: contact at dimitrifourny dot com
Summary: A reproductible crash in UConverter when given
invalid encoding
-Status: Assigned
+Status: Closed
Type: Bug
Package: Reproducible crash
Operating System: *
PHP Version: 5.6.0alpha3
Assigned To: stas
Block user comment: N
Private report: N
New Comment:
The fix for this bug has been committed.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2014-03-17 08:20:55] stas@php.net
Automatic comment on behalf of stas
Revision: http://git.php.net/?p=php-src.git;a=commit;h=66bf216c66b36c3a5379368747f21470b4dd3d27
Log: Fix bug #66873: check if obj->src is set
------------------------------------------------------------------------
[2014-03-11 01:21:49] stas@php.net
Reproducible on Mac OS X too.
------------------------------------------------------------------------
[2014-03-10 06:24:35] pajoye@php.net
Stas, can you look at it pls?
------------------------------------------------------------------------
[2014-03-09 20:22:47] contact at dimitrifourny dot com
Description:
------------
Hello!
I have found a possible security issues.
Can you fix it to make a more stable PHP version please?
Thank you for your good job!
Expected result:
----------------
<?php
$o = new UConverter(1, 1);
$o->toUCallback(1, 1, 1, $b);
?>
Actual result:
--------------
A nice crash on Windows 7 x64.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66873&edit=1
Thread (6 messages)