PHP 4.0 Bug #5788: Segmentation fault with posix_getpwnam & posix_getpwuid
| From: | bayard at uncnet dot com | Date: | Wed, 26 Jul 2000 01:37:24 +0000 |
| Subject: | PHP 4.0 Bug #5788: Segmentation fault with posix_getpwnam & posix_getpwuid | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-26177@lists.php.net to get a copy of this message | ||
From: bayard@uncnet.com
Operating system: Redhat Linux 6.1
PHP version: 4.0.1pl2
PHP Bug Type: Other
Bug description: Segmentation fault with posix_getpwnam & posix_getpwuid
A php script which call posix_getpwnam/posix_getpwuid will cause segmentation fault if included too
deep in include stack.
If the parameter passed to these 2 functions not a valid system user name/id, then error will not
occur. SEG FAULT appears only called with valid user name/id.
Other posix related functions don't have this problem.