<div>1. BUG:</div>
<div>In file openbsm/libbsm/bsm_user.c, destroy_user_area () does not test whether the point u is NULL. <br> </div>
<div>static void<br>destroy_user_area(struct au_user_ent *u)<br>{</div>
<div>
<p> free(u->au_name);<br> free(u);<br>}</p>
<p>should be:</p>
<p>static void<br>destroy_user_area(struct au_user_ent *u)<br>{<br> if (u ==NULL)<br> return;</p>
<p> free(u->au_name);<br> free(u);<br>}<br></p>
<p>2. Question:</p>
<p>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)。</p>
<p> </p></div>