BACKPORT: Minor improvement of 'smack_sb_kern_mount'
authorJosé Bollo <jose.bollo@open.eurogiciel.org>
Wed, 8 Jan 2014 14:53:05 +0000 (15:53 +0100)
committerRafal Krypa <r.krypa@samsung.com>
Thu, 30 Jun 2016 12:57:32 +0000 (14:57 +0200)
commit16638e4968f6cb2109e2f0c553d3a7d737c22f4b
tree952d06a5fff9d385d5673874485fefce44779ac7
parentf17de08eacd9bade230201496c5da48acfd9d770
BACKPORT: Minor improvement of 'smack_sb_kern_mount'

Fix a possible memory access fault when transmute is true and isp is NULL.

Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
(cherry-picked from upstream 55dfc5da1a9b7e623b6f35620c74280555df0288)
security/smack/smack_lsm.c