[ulogd] pcap len was set to value of the pointer to raw data.
Pablo Neira
netfilter-cvslog-bounces at lists.netfilter.org
Wed Jun 18 17:28:37 CEST 2008
Gitweb: http://git.netfilter.org/cgi-bin/gitweb.cgi?p=ulogd.git;a=commit;h=d2ecdcd90521a125d469198f37ca2936d0ec544f
commit d2ecdcd90521a125d469198f37ca2936d0ec544f
Author: Eric Leblond <eric at inl.fr>
AuthorDate: Wed Jun 18 17:15:41 2008 +0200
Commit: Pablo Neira Ayuso <pablo at netfilter.org>
CommitDate: Wed Jun 18 17:15:41 2008 +0200
pcap len was set to value of the pointer to raw data.
This is a application of patch provided by Jaap Keuter. Application will
close bugzilla 535.
Signed-off-by: Eric Leblond <eric at inl.fr>
via d2ecdcd90521a125d469198f37ca2936d0ec544f (commit)
from 835110044bd970518e10b28348ce6619818ce363 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d2ecdcd90521a125d469198f37ca2936d0ec544f
Author: Eric Leblond <eric at inl.fr>
Date: Wed Jun 18 17:15:41 2008 +0200
pcap len was set to value of the pointer to raw data.
This is a application of patch provided by Jaap Keuter. Application will
close bugzilla 535.
Signed-off-by: Eric Leblond <eric at inl.fr>
-----------------------------------------------------------------------
pcap/ulogd_PCAP.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
This is a application of patch provided by Jaap Keuter. Application will
close bugzilla 535.
Signed-off-by: Eric Leblond <eric at inl.fr>
diff --git a/pcap/ulogd_PCAP.c b/pcap/ulogd_PCAP.c
index 686fe47..7d67c28 100644
--- a/pcap/ulogd_PCAP.c
+++ b/pcap/ulogd_PCAP.c
@@ -131,7 +131,7 @@ static int pcap_output(ulog_iret_t *res)
{
struct pcap_sf_pkthdr pchdr;
- pchdr.caplen = GET_VALUE(1).ui32;
+ pchdr.caplen = GET_VALUE(2).ui32;
pchdr.len = GET_VALUE(2).ui32;
if (GET_FLAGS(3) & ULOGD_RETF_VALID
More information about the netfilter-cvslog
mailing list