Date: Mon, 22 Oct 2007 16:39:10 -0400 From: dexterclarke@Safe-mail.net To: freebsd-hackers@freebsd.org Subject: Re: Segfault in _auditreduce_ Message-ID: <N1-veZSUWkeZs@Safe-mail.net>
next in thread | raw e-mail | index | archive | help
Patch for the issue: --- auditreduce.c.orig Mon Oct 22 21:32:07 2007 +++ auditreduce.c Mon Oct 22 21:30:13 2007 @@ -719,7 +719,6 @@ if (n == NULL) usage("Incorrect event name"); p_evtype = *n; - free(n); } SETOPT(opttochk, OPT_m); break; getauevnonam() returns a statically allocated event that the main function then attempts to free() for some reason. This patch is against 6.2-RELEASE so it's probably already out of date. -- dc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?N1-veZSUWkeZs>