#44938 [Opn->Ctl]: gettext functions crash with long strings
| From: | jani@php.net | Date: | Mon, 27 Oct 2008 13:53:39 +0000 |
| Subject: | #44938 [Opn->Ctl]: gettext functions crash with long strings | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-130204@lists.php.net to get a copy of this message | ||
ID: 44938
Updated by: jani@php.net
Reported By: hoffie at gentoo dot org
-Status: Open
+Status: Critical
Bug Type: Gettext related
Operating System: Linux
PHP Version: 5.2.6
Previous Comments:
------------------------------------------------------------------------
[2008-05-07 20:34:37] hoffie at gentoo dot org
Description:
------------
Has this ever been addressed? 5.2.6 still crashes.
http://www.securityfocus.com/archive/1/483648/30/0/threaded
Reproduce code:
---------------
$ php -r 'dgettext(str_repeat("A",8476509),"hi");'
(See $URL for more examples)
Expected result:
----------------
No crash...
Actual result:
--------------
Segmentation fault
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44938&edit=1