[prev in list] [next in list] [prev in thread] [next in thread]
List: snort-devel
Subject: Re: [Snort-devel] spo_csv - whitespace/sid/gen/rev stuff
From: Chris Green <cmg () uab ! edu>
Date: 2001-07-30 13:06:45
[Download RAW message or body]
Dragos Ruiu <dr@kyx.net> writes:
> On Sun, 29 Jul 2001, Chris Green wrote:
>> How to construct a variable number of arguments into one function
>> call? I can't think of a non-nasty way to do it.
>
> What's wrong with the traditional <stdarg.h>,va_arg, va_start, va_end method?
> Other than format string vulnerabilities does it count as nasty?
No, the problem is a user configurable number of variables to be
printed that will imply a user generated format.
I'm not a va_args expert but isn't it a macro therefore done at
compile time?
I'm beginging to think there should just be a selection of format
strings available for csv and doing like Brian said and just
hard-coding them.
Anyone else use csv? (besides Brian)
--
Chris Green <cmg@uab.edu>
"I'm beginning to think that my router may be confused."
_______________________________________________
Snort-devel mailing list
Snort-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/snort-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic