summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung
diff options
context:
space:
mode:
authorGen Zhang2019-06-12 15:55:38 +0200
committerPaul Moore2019-06-12 18:27:26 +0200
commitfec6375320c6399c708fa9801f8cfbf950fee623 (patch)
tree6e5c0b51a8054b81ed768fbd5973d85661f0625e /sound/soc/samsung
parentselinux: fix a missing-check bug in selinux_add_mnt_opt( ) (diff)
downloadkernel-qcow2-linux-fec6375320c6399c708fa9801f8cfbf950fee623.tar.gz
kernel-qcow2-linux-fec6375320c6399c708fa9801f8cfbf950fee623.tar.xz
kernel-qcow2-linux-fec6375320c6399c708fa9801f8cfbf950fee623.zip
selinux: fix a missing-check bug in selinux_sb_eat_lsm_opts()
In selinux_sb_eat_lsm_opts(), 'arg' is allocated by kmemdup_nul(). It returns NULL when fails. So 'arg' should be checked. And 'mnt_opts' should be freed when error. Signed-off-by: Gen Zhang <blackgod016574@gmail.com> Fixes: 99dbbb593fe6 ("selinux: rewrite selinux_sb_eat_lsm_opts()") Cc: <stable@vger.kernel.org> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'sound/soc/samsung')
0 files changed, 0 insertions, 0 deletions