Re: [PATCH nft] evaluate: missing location for chain nested in table definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote:
> error reporting may crash because location is unset.
> 
> Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
> ---
> 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 {
            ^^^^



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux