git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6ea83e
)
SELinux: possible NULL deref in context_struct_to_string
author
Eric Paris
<eparis@redhat.com>
Wed, 4 Apr 2012 17:46:36 +0000
(13:46 -0400)
committer
Eric Paris
<eparis@redhat.com>
Mon, 9 Apr 2012 16:22:56 +0000
(12:22 -0400)
It's possible that the caller passed a NULL for scontext. However if this
is a defered mapping we might still attempt to call *scontext=kstrdup().
This is bad. Instead just return the len.
Signed-off-by: Eric Paris <eparis@redhat.com>
No differences found