Home
last modified time | relevance | path

Searched hist:"318 b6d3d" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/
H A Daudit_tree.c318b6d3d Tue Jan 13 16:32:40 CST 2009 Eric Paris <eparis@redhat.com> audit: incorrect ref counting in audit tree tag_chunk

tag_chunk has bad exit paths in which the inotify ref counting is wrong.
At the top of the function we found &old_watch using inotify_find_watch().
inotify_find_watch takes a reference to the watch. This is never dropped
on an error path.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
318b6d3d Tue Jan 13 16:32:40 CST 2009 Eric Paris <eparis@redhat.com> audit: incorrect ref counting in audit tree tag_chunk

tag_chunk has bad exit paths in which the inotify ref counting is wrong.
At the top of the function we found &old_watch using inotify_find_watch().
inotify_find_watch takes a reference to the watch. This is never dropped
on an error path.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>