GNU C Library master sources branch master updated. glibc-2.22-556-gfb30403

sthibaul@sourceware.org sthibaul@sourceware.org
Wed Nov 25 00:09:00 GMT 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  fb304035c41c7ee2afede51e5e8568974549ba5e (commit)
      from  e02cabecf0d025ec4f4ddee290bdf7aadb873bb3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=fb304035c41c7ee2afede51e5e8568974549ba5e

commit fb304035c41c7ee2afede51e5e8568974549ba5e
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Wed Nov 25 01:09:13 2015 +0100

    Fix RPC breakage when longjumping from signal handler
    
    	* hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
    	of interrupted RPC instead of restoring it.

diff --git a/ChangeLog b/ChangeLog
index 343a936..33ea5ab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	* hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
+	of interrupted RPC instead of restoring it.
+
 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
 
 	* stdlib/strtod_nan.c: New file.
diff --git a/hurd/sigunwind.c b/hurd/sigunwind.c
index 3a62fb5..800bb30 100644
--- a/hurd/sigunwind.c
+++ b/hurd/sigunwind.c
@@ -50,7 +50,8 @@ _hurdsig_longjmp_from_handler (void *data, jmp_buf env, int val)
 	  *reply_port = MACH_PORT_DEAD;
 	  __mach_port_destroy (__mach_task_self (), port);
 	}
-      *reply_port = scp->sc_reply_port;
+      if (scp->sc_reply_port)
+	__mach_port_destroy (__mach_task_self (), scp->sc_reply_port);
     }
 
   __spin_lock (&ss->lock);

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |    5 +++++
 hurd/sigunwind.c |    3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources



More information about the Glibc-cvs mailing list