diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-03-22 13:11:14 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-03-22 13:16:24 +0200 |
commit | 03b7314673fc4030e933f86890aad7f82ec30eca (patch) | |
tree | 0e9e00ce9cfc5a52a2ff21c06f800b7b9879a22a /src/parser.h | |
parent | f91b19e696794204f2ba05587eb0dc0475c65345 (diff) | |
download | cflow-03b7314673fc4030e933f86890aad7f82ec30eca.tar.gz cflow-03b7314673fc4030e933f86890aad7f82ec30eca.tar.bz2 |
Properly handle invalid input
See https://savannah.gnu.org/bugs/?44113
* src/parser.c (cleanup_stack): Ignore negative deltas.
(parse_function_declaration): Don't set caller if the symbol
is in automatic storage. Note: that means nested function definitions
can't be handled.
* tests/invalid.at: New test case.
* tests/Makefile.am: Add new test case.
* tests/testsuite.at: Likewise.
Diffstat (limited to 'src/parser.h')
0 files changed, 0 insertions, 0 deletions