Pablo Neira Ayuso <[email protected]> wrote: > error reporting may crash because location is unset. > > Signed-off-by: Pablo Neira Ayuso <[email protected]> > --- > This supersedes your patch 2/3. Regarding 1/3, I think it should be good > to assume location must be always set, so BUG() is probably a good idea > from erec_print() if unset.
I can confirm this works, instead of crash one now gets
crash.nft:7:13-16: Error: No such file or directory
chain test {
^^^^
