]> git.neil.brown.name Git - history.git/commit
[PATCH] SELinux: null dereference in error path
authorAlexander Nyberg <alexn@dsv.su.se>
Tue, 1 Mar 2005 03:47:45 +0000 (19:47 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 1 Mar 2005 03:47:45 +0000 (19:47 -0800)
commitc339cc7bf6acaa265f59e73c3c36e32888478ad6
tree1a1142c3ee5435a9465987765c01f188a09a34a7
parent678eef087f9a939085addfbeea887df1758a1f1d
[PATCH] SELinux: null dereference in error path

The 'bad' label will call function that unconditionally dereferences the
NULL pointer.

Found by the Coverity tool

Signed-off-by: Alexander Nyberg <alexn@dsv.su.se>
Acked-by: James Morris <jmorris@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/selinux/ss/policydb.c