commit | 3011493e9b57d558f700367a8a20afd4c1b54711 | [log] [tgz] |
---|---|---|
author | Bill Spitzak <spitzak@gmail.com> | Tue Aug 19 18:13:09 2014 -0700 |
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | Thu Sep 11 12:36:55 2014 +0300 |
tree | 570b1749d4ab19a9083a1367988c6a7af302eb83 | |
parent | 4b1a0a1d07b4312e90bc20ff13d465add90a41ff [diff] |
parse_options: fail on more malformed options 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. [Pekka Paalanen: some whitespace style fixes.] Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>