diff options
author | 2008-05-06 20:42:38 -0700 | |
---|---|---|
committer | 2008-05-08 10:46:56 -0700 | |
commit | ba719baeabbff5476eeb91c223e6921ba29e1490 (patch) | |
tree | f3023d34b9ca087412839f6b5937478d49e567ec /lib/parser.c | |
parent | vt: fix canonical input in UTF-8 mode (diff) | |
download | wireguard-linux-ba719baeabbff5476eeb91c223e6921ba29e1490.tar.xz wireguard-linux-ba719baeabbff5476eeb91c223e6921ba29e1490.zip |
sys_pipe(): fix file descriptor leaks
Remember to close the files if copy_to_user() failed.
Spotted by dm.n9107@gmail.com.
Signed-off-by: Ulrich Drepper <drepper@redhat.com>
Cc: DM <dm.n9107@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions