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

sthibault pushed a commit to branch upstream
in repository hurd.

commit 59499c6189fd0871b46acf7c3c1a67c00bba9956
Author: Justus Winter <4win...@informatik.uni-hamburg.de>
Date:   Wed Nov 6 15:21:39 2013 +0100

    proc: fix error handling in S_proc_exception_raise
    
    Found using the Clang Static Analyzer.
    
    * proc/mgt.c (S_proc_exception_raise): Fix error propagation.
---
 proc/mgt.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/proc/mgt.c b/proc/mgt.c
index d7ad296..5db1fe8 100644
--- a/proc/mgt.c
+++ b/proc/mgt.c
@@ -458,6 +458,8 @@ S_proc_exception_raise (mach_port_t excport,
       ports_port_deref (e);
       mach_port_deallocate (mach_task_self (), thread);
       mach_port_deallocate (mach_task_self (), task);
+      if (err)
+       return err;
       return MIG_NO_REPLY;
 
     default:

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

Reply via email to