#43128 [Csd]: Very long class name causes segfault

From: Date: Fri, 15 Feb 2008 07:45:48 +0000
Subject: #43128 [Csd]: Very long class name causes segfault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-122304@lists.php.net to get a copy of this message
 ID:               43128
 Updated by:       dmitry@php.net
 Reported By:      felipensp at gmail dot com
 Status:           Closed
 Bug Type:         Reproducible crash
 Operating System: Linux
 PHP Version:      5.3CVS-2007-10-29 (snap)
 Assigned To:      dmitry
 New Comment:

Fixed in PHP_5_2 too.


Previous Comments:
------------------------------------------------------------------------

[2007-11-22 13:34:28] dmitry@php.net

Fixed in CVS HEAD and PHP_5_3.

------------------------------------------------------------------------

[2007-11-14 23:34:08] jani@php.net

See also bug #43298


------------------------------------------------------------------------

[2007-11-13 09:59:16] dmitry@php.net

The suggested patch is going to fix only one place, however the same
stack overflow may be reached using several other places which use
do_alloca(). I'll try to think about general solution.

------------------------------------------------------------------------

[2007-10-30 11:42:10] crrodriguez at suse dot de

Yes, an smaller limit like 1024 looks OK and is still high enough to
avoid annoying insane coders ;-)

------------------------------------------------------------------------

[2007-10-30 10:48:14] derick@php.net

That would already allocate 64kb on the stack, I doubt that will work
on all systems. I would suggest a somewhat smaller limit, say 1024?

------------------------------------------------------------------------

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
    http://bugs.php.net/43128

-- 
Edit this bug report at http://bugs.php.net/?id=43128&edit=1


Thread (13 messages)

« previous php.bugs (#122304) next »