tcpdump mailing list archives

Re: A possible bug in libpcap segfault + malloc +


From: harish badrinath <harishbadrinath () gmail com>
Date: Wed, 23 Mar 2011 10:58:42 +0530

On Wed, Mar 23, 2011 at 2:06 AM, Guy Harris <guy () alum mit edu> wrote:

On Mar 22, 2011, at 12:28 AM, harish badrinath wrote:

Each filter component is listed in a single line and the program would
read the entire file and compress all the arguments to one single
filter to be passed onto to pcap_compile.

...and null-terminate it, right?
From Line 43 in attachment2,
pkmain (buffer=0x8053ca0 "Ports=80,25,11 Protcols=ALL,TCP Deny
Ports=22,88 Deny Protocols=ICMP,UDP GAR BAG . .."), this is right
before things fail.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: