﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	field_blocks	field_dependson	field_seealso
506	getopt() crashes when called multiple time with invalid options	Saad Talaat	Saad Talaat	"I've been playing around with several commands ls and cat in particular.Anyway if you ls -la for example it will output unknown options, which is fine. then try to ls -h and ls --help. after that just make a normal ls it will output unknown options and kill the bdsh session. I tried to perform the same sequence of commands again to trigger this error but it would occasionally be triggered.

Steps to reproduce:
1. `ls -la` (correctly reports bad options)
2. `ls -h`
3. `ls --help`
4. `ls` (crashes the whole bdsh)
"	defect	closed	minor	0.7.0	helenos/lib/c	mainline	fixed	first-patch				#618
