Re: [PATCH] kernel: auditfilter: looping issue, memory leak if has2 or more AUDIT_FILTERKEYs

From: Chen Gang
Date: Wed Apr 10 2013 - 23:56:27 EST


On 2013å04æ11æ 04:29, Eric Paris wrote:
> ----- Original Message -----
>> >
>> >
>> > in another function: audit_data_to_entry:
>> >
>> > a. has the same issue for case AUDIT_WATCH.
> You are saying if there were 2 of them it will leak the old one? No. If you have 2 AUDIT_WATCH entries the first one will set entry->rule->watch and the second will bomb with EINVAL in audit_to_watch()
>
>

thanks, really it is. it is my fault.

:-)


--
Chen Gang

Asianux Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/