summaryrefslogtreecommitdiff
path: root/init/do_mounts_initrd.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-03-13 14:14:22 +0300
committerJames Morris <jmorris@namei.org>2010-03-15 07:51:29 +1100
commit181427a7e01beab76c789414334375839f026128 (patch)
tree3a50a93331b536b80d9c393a034489c9678d8a13 /init/do_mounts_initrd.c
parentbca14dd14f3b0c5e3e2d1d314679f85b67871365 (diff)
downloadlinux-3.10-181427a7e01beab76c789414334375839f026128.tar.gz
linux-3.10-181427a7e01beab76c789414334375839f026128.tar.bz2
linux-3.10-181427a7e01beab76c789414334375839f026128.zip
tomoyo: fix potential use after free
The original code returns a freed pointer. This function is expected to return NULL on errors. Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'init/do_mounts_initrd.c')
0 files changed, 0 insertions, 0 deletions