Bug in libbsm ? and a question in kern.
Yuan MailList
yuan.maillist at gmail.com
Mon Dec 19 06:29:29 GMT 2005
1. BUG:
In file openbsm/libbsm/bsm_user.c, destroy_user_area () does not test
whether the point u is NULL.
static void
destroy_user_area(struct au_user_ent *u)
{
free(u->au_name);
free(u);
}
should be:
static void
destroy_user_area(struct au_user_ent *u)
{
if (u ==NULL)
return;
free(u->au_name);
free(u);
}
2. Question:
Why AUC_DISABLED (in audit.h) is defined as an negative integer -1 and not a
positive integer, such as 3 ? In Solaris, it is defined as (AUC_NOSPACE=3)。
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebsd.org/pipermail/trustedbsd-audit/attachments/20051219/b66e5bd8/attachment.html
More information about the trustedbsd-audit
mailing list