[vlc-commits] rootwrap: file descriptor leak
Rémi Denis-Courmont
git at videolan.org
Tue Apr 22 23:01:09 CEST 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 23 00:00:52 2014 +0300| [a8dffdef8bc773268028605d8e36e38d5617e06b] | committer: Rémi Denis-Courmont
rootwrap: file descriptor leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a8dffdef8bc773268028605d8e36e38d5617e06b
---
bin/rootwrap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/bin/rootwrap.c b/bin/rootwrap.c
index 03598a9..37d8839 100644
--- a/bin/rootwrap.c
+++ b/bin/rootwrap.c
@@ -172,6 +172,7 @@ static void rootprocess (int fd)
close (sock);
continue;
}
+ close (sock);
}
send_err (fd, errno);
}
More information about the vlc-commits
mailing list