diff options
author | Phil Sutter <phil@nwl.cc> | 2018-09-19 15:16:50 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-09-24 11:24:01 +0200 |
commit | 8e798e050367dfe43bb958f11dd3170b03bda49e (patch) | |
tree | 086338c12fb46e635268a897a4ed477c30f31922 /extensions/libxt_SET.c | |
parent | 74eb2395c838460384286c2b95f711ae275a46cb (diff) |
libxt_conntrack: Avoid potential buffer overrun
In print_addr(), a resolved hostname is written into a buffer without
size check. Since BUFSIZ is typically 8192 bytes, this shouldn't be an
issue, though covscan complained about it. Fix the code by using
conntrack_dump_addr() as an example.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions/libxt_SET.c')
0 files changed, 0 insertions, 0 deletions