#44938 [Ctl->Csd]: gettext functions crash with long strings

From: Date: Thu, 30 Oct 2008 14:28:51 +0000
Subject: #44938 [Ctl->Csd]: gettext functions crash with long strings
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-130320@lists.php.net to get a copy of this message
ID: 44938 Updated by: lstrojny@php.net Reported By: hoffie at gentoo dot org -Status: Critical +Status: Closed Bug Type: Gettext related Operating System: Linux PHP Version: 5.2.6 New Comment: This bug has been fixed in CVS. 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/. Thank you for the report, and for helping us make PHP better. 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

« previous php.bugs (#130320) next »