diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-11-25 01:56:47 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-11-25 01:56:47 +0100 |
commit | 6262a4a7b7139fb5636228cb0f5a1e72f848d871 (patch) | |
tree | a239dc549821e9cc897d616dd99c637767bf9fee /doc | |
parent | 40efc1ebb15be022453f8c820c31099a8a0ebebd (diff) | |
download | conntrack-tools-6262a4a7b7139fb5636228cb0f5a1e72f848d871.tar.gz conntrack-tools-6262a4a7b7139fb5636228cb0f5a1e72f848d871.zip |
build: add attribute header size to total attribute length
This patch adds the size of the attribute header (4 bytes) to the
length field of netattr. This fixes a possible invalid memory
access in malformed messages.
This change is included in the set of scheduled changes for 0.9.9
that break backward compatibility.
This patch also removes a memset of 4096 by one to initialize
the headers and the netattr paddings.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions