]> granicus.if.org Git - re2c/commit
Fixed segfault on options that expect an argument but are passed none.
authorUlya Trofimovich <skvadrik@gmail.com>
Wed, 29 Jul 2015 13:46:19 +0000 (14:46 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Wed, 29 Jul 2015 13:46:19 +0000 (14:46 +0100)
commitc8c8426f1305d3e541c74229a504a32b62f490fe
treec859317611537a889dc2d0c78beb2942707e0b40
parent92a6743b7b89ae1099e14acc76d0f2ceefb5ae0f
Fixed segfault on options that expect an argument but are passed none.

Example of commands that triggered segfault:
    $ re2c -o
    $ re2c --type-header
    $ re2c --input
re2c/bootstrap/src/conf/parse_opts.cc
re2c/src/conf/msg.cc
re2c/src/conf/msg.h
re2c/src/conf/opt.h
re2c/src/conf/parse_opts.re
re2c/src/main.cc