[PATCH 1/2] Fix the bug for missing field name before operator

Steve Grubb sgrubb at redhat.com
Thu Aug 7 20:52:51 UTC 2008


On Thursday 07 August 2008 06:32:01 Zhang Xiliang wrote:
> I think the way "f == v" can't make sure that they didn't type -F =10.
> After "v = strstr(pair, "=")" and v++. The v will not equal to f.
>
> It is checked by "audit_name_to_field()", but not "f == v".
> Because before v++, the "*v" is set to 0. we can use "*f == 0" to check out
> the case. The patch is for it.

Applied. Thanks for the patch !

-Steve




More information about the Linux-audit mailing list