-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workinginvalidThis doesn't seem rightThis doesn't seem right
Description
Use case :
-> Send random stuff to executable, wait for it...... crash!
$ FreeMyCode ùaekmkf anefjia cjdqsico
Parser should be tuned to avoid such crashes
Crash occurs :
- Input is filled with crap (parser)
- All arguments are not filled (3 of them are filled )
- logger tries to access to logfile (which is empty at this time)
-> parser should have told FreeMyCode to abort execution before.
Possible solution :
Check inputs BEFORE trying to access it.
- Inputs are already checked, but in the FreeMyCode.cpp scope, not in the parser's scope
-> Parser should return an error (false) as soon as it detects an error in CLI
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinginvalidThis doesn't seem rightThis doesn't seem right