Date: 04/03/00
- Next message: Zeev Suraski: "Re: [PHP-DEV] Bug #4008: PHP crashes in module shutdown"
- Previous message: dean.bennett <email protected>: "[PHP-DEV] Bug #4008: PHP crashes in module shutdown"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: kiko <email protected>
Operating system: Linux-2.2.14
PHP version: 3.0.15
PHP Bug Type: Reproduceable crash
Bug description: getpwnam crashes if parsing a passwd entry with null gecos
A simple
<? var_dump(posix_getpwnam("user")) ?>
will core dump if user has a null gecos (possibly, any
null value). As in:
user:x:500:100::/home/user:/bin/bash
The fix needs to take into account nulls comming in
via getpwnam and appropriately blank the fields. I can't fix this right now,
but it should be an easy one.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Zeev Suraski: "Re: [PHP-DEV] Bug #4008: PHP crashes in module shutdown"
- Previous message: dean.bennett <email protected>: "[PHP-DEV] Bug #4008: PHP crashes in module shutdown"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

