summaryrefslogtreecommitdiffstats
path: root/src/parse.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-09-03 12:18:43 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2009-09-03 12:18:43 +0200
commit9d2c667b951fa67f70bebc863f005dd1d10de91c (patch)
tree33423f0ede8b2d233228ab8bf6641e99161a5014 /src/parse.c
parentcf3be894fcb95adb360425c8482954522e9110d2 (diff)
conntrackd: net message memory allocation is unsafe
We cannot assume that we will not write in the net message before we send it, because the memory allocated for the net message (__net) is only reserved in BUILD_NETMSG (because of the { } block in it). This patch marks the buffer as static to avoid this problem. Based on a patch from Samuel Gauthier <samuel.gauthier@6wind.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/parse.c')
0 files changed, 0 insertions, 0 deletions