]> The Tcpdump Group git mirrors - libpcap/commit
finish_parse() has to catch bpf_error() exceptions, too.
authorGuy Harris <[email protected]>
Tue, 30 Oct 2018 02:25:40 +0000 (19:25 -0700)
committerGuy Harris <[email protected]>
Tue, 30 Oct 2018 02:25:40 +0000 (19:25 -0700)
commitd9500279597993c5290c08ec095513e0de6ce8e3
treedcec312d6fd956172baec4ddaff8350b9acfec65
parent68e9a06ec1775c376820f0f0382e12cead0b0711
finish_parse() has to catch bpf_error() exceptions, too.

Do so, and return -1 on an error and 0 otherwise.  Check the return
value when it's called.
gencode.c
gencode.h
grammar.y