diff options
author | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2007-05-30 15:43:15 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2007-05-30 15:43:15 +0000 |
commit | ca3d12bf81c4b0424d977c06092db9e6f1fb0528 (patch) | |
tree | 28dc095e4eaac352a53b6d29afc13d3e899f0d0b /src/network.c | |
parent | 3b8af061583bd7cc4fbc3f2a615586befe74cdb9 (diff) | |
download | conntrack-tools-ca3d12bf81c4b0424d977c06092db9e6f1fb0528.tar.gz conntrack-tools-ca3d12bf81c4b0424d977c06092db9e6f1fb0528.zip |
fix silly bug in build_network_message: out of bound memset
Diffstat (limited to 'src/network.c')
-rw-r--r-- | src/network.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network.c b/src/network.c index d073428..abd30fe 100644 --- a/src/network.c +++ b/src/network.c @@ -249,6 +249,7 @@ int build_network_msg(const int msg_type, { memset(buffer, 0, size); buffer += sizeof(struct nlnetwork); + size -= sizeof(struct nlnetwork); return nfct_build_query(ssh, msg_type, ct, buffer, size); } |