summaryrefslogtreecommitdiffstats
path: root/include/data_reg.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-10-04 21:44:14 +0200
committerPhil Sutter <phil@nwl.cc>2019-10-15 19:34:12 +0200
commit00b144bc9d093dbdd1a3690dc8e8fb90b5447f2d (patch)
treeb9f6d50a72a20f17b68ba77d61b4922a7ff3886b /include/data_reg.h
parent0d5bb960b2f953c71fff15f88c8f0c331a1fa965 (diff)
obj/ct_timeout: Avoid array overrun in timeout_parse_attr_data()
Array 'tb' has only 'attr_max' elements, the loop overstepped its boundary by one. Copy array_size() macro from include/utils.h in nftables.git to make sure code does the right thing. Fixes: 0adceeab1597a ("src: add ct timeout support") Signed-off-by: Phil Sutter <phil@nwl.cc> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/data_reg.h')
0 files changed, 0 insertions, 0 deletions