summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2014-11-28 19:04:21 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2014-11-28 19:41:58 +0100
commitd297735543a8c32b83e40563f01fea33e233b4ef (patch)
treec1a512da3971f64295d749a06ddf7f2561af1dfe /src/scanner.l
parent8ff7fed3b0d866268322d27511ddc73fbd8c77c8 (diff)
datatype: fix crash when using basetype instead of symbolic constants
The following example: # nft add rule filter input ct state 8 accept Segmentation fault leads to a crash because we have the following datatype relation: ct_state -> bitmask -> integer The bitmask, which is an intermediate basetype, has no parse() function, this leads to a crash in symbolic_constant_parse(). Patrick suggested to walk down the chain until we find a parser function. Reported-by: leroy christophe <christophe.leroy@c-s.fr> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/scanner.l')
0 files changed, 0 insertions, 0 deletions