summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2024-11-27 18:54:53 +0100
committerPhil Sutter <phil@nwl.cc>2024-12-04 15:44:05 +0100
commitff37c01480cd0b938658d180ff5c7b1958ad250f (patch)
treed74a3a5e67ae79bcf8067764c1f420cb77839686 /src
parent3de0f574bd8d56b4a9ab72c0b78e6bb95a1f09ba (diff)
tests: Fix for ASAN
The 'data' arrays in match and target expression tests were undersized as they did not cover for the terminating NUL-char of the string used to initialize them. When passing such array to strdup(), the latter reads until after the defined array boundary. Fixes: 93483364369d8 ("src: get rid of cached copies of x_tables.h and xt_LOG.h") Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions