Re: [PATCH V2 1/3] parse_options: fail on more malformed options

2014-09-11 Thread Pekka Paalanen
On Tue, 19 Aug 2014 18:13:09 -0700 Bill Spitzak spit...@gmail.com wrote: Fail on trailing text after numbers, such as --width=100mm Fail on any text after booleans, such as --flag=false Also fixed reading of memory after the null terminator of a long option with no = sign in it. ---

[PATCH V2 1/3] parse_options: fail on more malformed options

2014-08-19 Thread Bill Spitzak
Fail on trailing text after numbers, such as --width=100mm Fail on any text after booleans, such as --flag=false Also fixed reading of memory after the null terminator of a long option with no = sign in it. --- shared/option-parser.c | 89 +--- 1