[PATCH] auparse: add a check to au->source_list to ensure it not null

2013-05-08 Thread
Hi all: I found a bug the process auvrt generate a coredump when there is no file named audit.log, In the case the /var/log/audit/audit.log removed by someone. I make a patch to solve this problem. Index: auparse/auparse.c === ---

[PATCH] auparse: add a check to au->source_list to ensure it not null

2013-05-08 Thread
Hi all: I found a bug the process auvrt generate a coredump when there is no file named audit.log, In the case the /var/log/audit/audit.log removed by someone. I make a patch to solve this problem. Index: auparse/auparse.c === ---