https://github.com/torvalds/linux
Revision 754320d6e166d3a12cb4810a452bde00afbd4e9a authored by Leon Yu on 01 May 2014, 03:31:28 UTC, committed by Benjamin LaHaise on 01 May 2014, 12:37:43 UTC
iovec should be reclaimed whenever caller of rw_copy_check_uvector() returns,
but it doesn't hold when failure happens right after aio_setup_vectored_rw().

Fix that in a such way to avoid hairy goto.

Signed-off-by: Leon Yu <chianglungyu@gmail.com>
Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
Cc: stable@vger.kernel.org
1 parent e02ba72
History
Tip revision: 754320d6e166d3a12cb4810a452bde00afbd4e9a authored by Leon Yu on 01 May 2014, 03:31:28 UTC
aio: fix potential leak in aio_run_iocb().
Tip revision: 754320d
File Mode Size
dnotify
fanotify
inotify
Kconfig -rw-r--r-- 135 bytes
Makefile -rw-r--r-- 177 bytes
fdinfo.c -rw-r--r-- 4.2 KB
fdinfo.h -rw-r--r-- 531 bytes
fsnotify.c -rw-r--r-- 8.7 KB
fsnotify.h -rw-r--r-- 1.9 KB
group.c -rw-r--r-- 3.1 KB
inode_mark.c -rw-r--r-- 8.4 KB
mark.c -rw-r--r-- 10.8 KB
notification.c -rw-r--r-- 6.1 KB
vfsmount_mark.c -rw-r--r-- 5.3 KB

back to top