[PATCH] Bug fix for #29770, but for PHP 4.3.9

From: Date: Wed, 27 Oct 2004 12:14:22 +0000
Subject: [PATCH] Bug fix for #29770, but for PHP 4.3.9
Groups: php.internals 
Request: Send a blank email to internals+get-13562@lists.php.net to get a copy of this message
When safe_mode is set to 'on', popen() uses char buf[1024] to build argument list. This is not good, as it truncates command line without notice. This is NOT operating system limit - as noted on bugreport, but PHP bug. If anybody cares, here is fix for this bug under 4.3.9: http://leya.mindnever.org/~mr_w/php-popen.patch.gz PS, didn't have time to look at PHP 5 yet, but I suppose this fix could work also with minor tweaks. -- Vladimir Zidar, Programmer MindNever Foodstuff TRDG. Head Office Branch Tel: +381-63-550161, +385-98-9574261 http://www.mindnever.org, icq: 15414204, mail: mr_W@mindnever.org

« previous php.internals (#13562) next »