Ethereal-dev: [Ethereal-dev] Re: [Ethereal-cvs] rev 12851: /trunk/: capture_loop.c

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

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Wed, 29 Dec 2004 09:48:34 +0100
guy@xxxxxxxxxxxx wrote:

User: guy
Date: 2004/12/28 06:51 PM

Log:
Use the "errmsg_len" argument to "capture_loop_open_output()" -
"sizeof(errmsg)', when "errmsg" is a "char *", doesn't give the size of
the string to which "errmsg" points, it gives the size of the pointer
itself, which is too small.

Directory: /trunk/
 Changes    Path              Action
 +3 -3      capture_loop.c    Modified

Ooops, I've doesn't catched that ones, but I've already replaced all the other appearances - thanks.

I'm currently still working on clarifying the capture engine even a bit more, as some of the capture related functions are rather long and therefore not well understandable.

I'll plan to continue this work, and going to think about the privilege seperation of the capturing engine which is discussed a bit in the wiki (http://wiki.ethereal.com/Development_2fPrivilegeSeparation).

Regards, ULFL