argus client coredump w/ -c flag.
Carter Bullard
carter at qosient.com
Wed Sep 18 14:34:57 EDT 2013
Hey Jim,
Simple fix. I'll post a patch when I can power up the laptop.
In argus_util.c, there is a getoptStr that is specified for the various tools.
The one for "rahisto", needs a colon just after the lowercase 'c', so that getopt() will load up the optarg with a variable.
Sorry about that!!!
Carter
Carter Bullard, QoSient, LLC
150 E. 57th Street Suite 12D
New York, New York 10022
+1 212 588-9133 Phone
+1 212 588-9134 Fax
On Sep 18, 2013, at 10:14 AM, "James A. Robinson" <jimr at highwire.stanford.edu> wrote:
> Looks like the problem is that optarg isn't getting set
> to a valid location, it appears to be crashing when
> testing optarg[0] for the value '\\'.
>
> argus-clients-3.0.7.5/common/argus_util.c
> ...
> case 'c':
> if (!(strncmp(parser->ArgusProgramName, "radium", 6))) {
> if ((chroot_dir = strdup(optarg)) == NULL)
> ArgusLog (LOG_ERR, "strdup %s", strerror(errno));
> } else
> if (!(strncmp(parser->ArgusProgramName, "ragrep", 6))) {
> parser->cflag++;
> } else {
> parser->cflag++;
> if (optarg[0] == '\\') {
> ...
>
More information about the argus
mailing list