Changes between Initial Version and Version 4 of Ticket #506
- Timestamp:
- 2012-12-14T07:25:40Z (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #506
- Property Component helenos/app/bdsh → helenos/lib/c
- Property Summary bdsh misbehaving on sequential erroneous/invalid options for a cmd/module → getopt() crashes when called multiple time with invalid options
-
Ticket #506 – Description
initial v4 1 1 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. 2 2 3 Steps to reproduce: 4 1. `ls -la` (correctly reports bad options) 5 2. `ls -h` 6 3. `ls --help` 7 4. `ls` (crashes the whole bdsh)