summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2020-06-24 15:30:00 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2020-07-01 12:54:50 +0200
commit7e28a82781379329a50c5340676bbf629d71dfd0 (patch)
treea816b226f690a6c1b5dbc134e8b49f969c20e574 /Makefile.am
parent6c7c716bec3b3302c2212c9273c33f9640de8206 (diff)
conntrack: Fix incorrect snprintf size calculation
The previous BUFFER_SIZE() call already updated the remaining 'len'. So there is no need to subtract 'size' again. While this just makes the buffer appear smaller than it is, which is mostly harmless, the subtraction might underflow as 'size > len' is not checked like BUFFER_SIZE() does. Signed-off-by: Daniel Gröber <dxld@darkboxed.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions