Date: 09/18/01
- Next message: Thies C. Arntzen: "Re: [PHP-DEV] [patch] avoiding TSRMLS_FETCH (custom sorting functions)"
- Previous message: Derick Rethans: "Re: [PHP-DEV] PHP 3.0 Bug Summary Report"
- Next in thread: mfischer <email protected>: "[PHP-DEV] Bug #13361 Updated: Seg Fault"
- Reply: mfischer <email protected>: "[PHP-DEV] Bug #13361 Updated: Seg Fault"
- Reply: bate <email protected>: "[PHP-DEV] Bug #13361 Updated: Seg Fault"
- Reply: sniper <email protected>: "[PHP-DEV] Bug #13361 Updated: Seg Fault"
- Reply: bate <email protected>: "[PHP-DEV] Bug #13361 Updated: Seg Fault"
- Reply: derick <email protected>: "[PHP-DEV] Bug #13361 Updated: Seg Fault"
- Reply: hholzgra <email protected>: "[PHP-DEV] Bug #13361 Updated: Seg Fault"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: bate <email protected>
Operating system: Linux 2.2.16
PHP version: 4.0.6
PHP Bug Type: Unknown/Other Function
Bug description: Seg Fault
#!/usr/bin/php -q
<?php
echo "Ihr Name:";
if ($fp = fopen("php://stdin","r")) {
$line = fgets($fp, 100);
fclose($fp);
}
$name = ereg_replace("[\n\r]", '', $line);
echo "Hallo $name!\n";
?>
This Program makes me with my Binary a seg fault after 3 executions .. ?
-- Edit bug report at: http://bugs.php.net/?id=13361&edit=1-- 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: Thies C. Arntzen: "Re: [PHP-DEV] [patch] avoiding TSRMLS_FETCH (custom sorting functions)"
- Previous message: Derick Rethans: "Re: [PHP-DEV] PHP 3.0 Bug Summary Report"
- Next in thread: mfischer <email protected>: "[PHP-DEV] Bug #13361 Updated: Seg Fault"
- Reply: mfischer <email protected>: "[PHP-DEV] Bug #13361 Updated: Seg Fault"
- Reply: bate <email protected>: "[PHP-DEV] Bug #13361 Updated: Seg Fault"
- Reply: sniper <email protected>: "[PHP-DEV] Bug #13361 Updated: Seg Fault"
- Reply: bate <email protected>: "[PHP-DEV] Bug #13361 Updated: Seg Fault"
- Reply: derick <email protected>: "[PHP-DEV] Bug #13361 Updated: Seg Fault"
- Reply: hholzgra <email protected>: "[PHP-DEV] Bug #13361 Updated: Seg Fault"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

