Changes between Initial Version and Version 4 of Ticket #506


Ignore:
Timestamp:
2012-12-14T07:25:40Z (12 years ago)
Author:
Vojtech Horky
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #506

    • Property Component helenos/app/bdshhelenos/lib/c
    • Property Summary bdsh misbehaving on sequential erroneous/invalid options for a cmd/modulegetopt() crashes when called multiple time with invalid options
  • Ticket #506 – Description

    initial v4  
    11I'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.
    22
     3Steps to reproduce:
     41. `ls -la` (correctly reports bad options)
     52. `ls -h`
     63. `ls --help`
     74. `ls` (crashes the whole bdsh)