Ethereal-dev: Re: [ethereal-dev] libpcap

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Wed, 06 Sep 2000 16:40:48 +0900
>I'm currently porting ethereal to ReliantUNIX 5.43 but come from one problem
>into the next. The current thing is libpcap. In optimize.c, function
>opt_init(), last line states
>        vnode_base = (struct valnode *)malloc(maxval * sizeof(*vmap));
>This is consistent in 0.4 and 0.5 too. The problem is, that the variable
>vmap is a pointer to a vmapinfo structure (8 bytes) but vnode_base is a
>pointer to a valnode structure (20 bytes). So we have overwriters all over
>the place. How could this ever work?
>
>I'm no subscriber of tcp-workers but I hope someone in this mailing list may
>forward it to the right place. Thanks!

	I've repaired tcpdump.org source code tree, so future tcpdump
	releases should be okay.  thanks!
	for future contacts, tcpdump-workers@xxxxxxxxxxx is the best place,
	IMHO.

itojun