diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-11-06 15:21:39 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-11-09 19:40:21 +0100 |
commit | 59499c6189fd0871b46acf7c3c1a67c00bba9956 (patch) | |
tree | 2ff488e02d204d25734c399e1fc0e9a1f5bb4b3a /proc | |
parent | 20fdd28047bfe8fabb7cebbda49386f4cab3c020 (diff) |
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.
Diffstat (limited to 'proc')
-rw-r--r-- | proc/mgt.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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: |