<div dir="ltr"><div><div><div><div><div><div><div><div><div>While testing usage of some tools, I stumbled across two small errors in ausearch-parse.c. I have attached two patches<br></div>end-fix.patch fixes the segfaults which can be found by running<br></div>ausearch -m USER_AUTH,USER_ACCT --success no --if end-986-dump.log<br></div>and <br>ausearch -m USER_AUTH,USER_ACCT --success no --if error-ausearch.log<br><br></div>term-segfault.patch fixes the errors that can be found by running<br></div>aureport -if corrupt-log-for-aureport.log<br></div>and<br></div>ausearch -m USER_AUTH,USER_ACCT --success no --if corrupt-log-for-ausearch.log<br><br></div>The erroneous log files were produced using zzuf. The corrupted log files are also attached. It is unlikely that a user will encounter corrupted audit log files in the wild, so these bugs aren't serious, but they are easy to fix.<br><br></div>Emily<br></div>