]> git.baikalelectronics.ru Git - kernel.git/commit
Audit: fix audit watch use after free
authorEric Paris <eparis@redhat.com>
Thu, 11 Jun 2009 18:31:33 +0000 (14:31 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 24 Jun 2009 03:50:33 +0000 (23:50 -0400)
commit09c9e99d1a66ae74da5f5713688878b6ebb6deb7
tree5ec19e8b65c1f3e6417c197288c42c60c852ef48
parentad33a64aa6b94d2ec0bf8ac1315f43e23ba5e4de
Audit: fix audit watch use after free

When an audit watch is added to a parent the temporary watch inside the
original krule from userspace is freed.  Yet the original watch is used after
the real watch was created in audit_add_rules()

Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/auditfilter.c