Bug #13920: close () doesn't check input properly ?

From: Date: Sun, 04 Nov 2001 15:23:50 +0000
Subject: Bug #13920: close () doesn't check input properly ?
Groups: php.dev 
Request: Send a blank email to php-dev+get-69606@lists.php.net to get a copy of this message
From: leen@wirehub.nl Operating system: Linux2.4 Debian/Testing G3 PPC PHP version: 4.0.5 PHP Bug Type: Sockets related Bug description: close () doesn't check input properly ? Note: Ofcourse I know this function is experimental, I'm just trying to help the bugsquiding. I'm running 4.0.5 and checked the changes in 4.0.6 and 4.0.5 of sockets.c to see if the close function changed, it didn't (as far as I see it), so I think this also applies to 4.0.6 I don't know if this is PPC specific, although I doubt it. here is the code, that crashes the php module (apache still works, but php doesn't output anything and headers don't get send): <? close ($fd); ?> if only crashes after multiple times (and with fast enough subsequent tries ?), this is what I used for testing: #! /bin/sh while true do lynx -source http://127.0.0.1/ done hope this was helpfull -- Edit bug report at: http://bugs.php.net/?id=13920&edit=1

« previous php.dev (#69606) next »