This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 90246df5d413c6b6a2d57d66c48c2fe3206eb42b
Author: Richard Braun <[email protected]>
Date:   Wed Feb 5 23:57:39 2014 +0100

    trans/fakeroot: fix right leak
    
    * trans/fakeroot.c (netfs_S_dir_lookup): Deallocate rights to intermediate
    file systems.
---
 trans/fakeroot.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/trans/fakeroot.c b/trans/fakeroot.c
index 0e0b618..3dce22e 100644
--- a/trans/fakeroot.c
+++ b/trans/fakeroot.c
@@ -287,6 +287,8 @@ netfs_S_dir_lookup (struct protid *diruser,
   err = dir_lookup (dir, filename,
                    flags & (O_NOLINK|O_RDWR|O_EXEC|O_CREAT|O_EXCL|O_NONBLOCK),
                    mode, do_retry, retry_name, &file);
+  if (dir != dnp->nn->file)
+    mach_port_deallocate (mach_task_self (), dir);
   if (err)
     return err;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git

Reply via email to