Menu

#88 Segmentation fault when called with invalid option

Released version
closed-accepted
nobody
Ario (74)
5
2013-05-05
2012-12-08
No

To reproduce call:

ario-1.5.1$ ./src/ario --asdf
Segmentation fault (core dumped)

Patch that checks for parsing result is attached.
After applying the patch:

ario-1.5.1$ ./src/ario --asdf
option parsing failed: Unknown option --asdf

Discussion

  • Andrzej Bieniek

    Andrzej Bieniek - 2012-12-08

    add options parsing check patch

     
  • Andrzej Bieniek

    Andrzej Bieniek - 2012-12-08
    • summary: crash when called with invalid option --> Segmentation fault when called with invalid option
     
  • Marc Pavot

    Marc Pavot - 2013-05-05

    Pushed to Ario svn version.
    Thank you.
    Marc

     
  • Marc Pavot

    Marc Pavot - 2013-05-05
    • status: open --> closed-accepted
     

Log in to post a comment.