]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mqueue: fix mq_open() file descriptor leak on user-space processes
authorAndré Goddard Rosa <andre.goddard@gmail.com>
Tue, 23 Feb 2010 07:04:28 +0000 (04:04 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 23:01:21 +0000 (16:01 -0700)
commit4b920035104d38462ba289c414c140033287b48c
treeaf59c2e84c6e6a547f978b9b16ace1277bf3293e
parent183407c05503edf20fa80ba1410ca5699bbd41f0
mqueue: fix mq_open() file descriptor leak on user-space processes

commit 4294a8eedb17bbc45e1e7447c2a4d05332943248 upstream.

We leak fd on lookup_one_len() failure

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ipc/mqueue.c