about summary refs log tree commit diff
path: root/hurd
diff options
context:
space:
mode:
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurdsig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
index 2c6f6a17d2..d93d4c2a8d 100644
--- a/hurd/hurdsig.c
+++ b/hurd/hurdsig.c
@@ -472,7 +472,7 @@ _hurd_internal_post_signal (struct hurd_sigstate *ss,
      can arrive during critical sections.  */
   __mutex_lock (&_hurd_signal_preempt_lock);
   for (pe = _hurd_signal_preempt[signo]; pe != NULL; pe = pe->next)
-    if (sigcode >= pe->first && sigcode <= pe->last)
+    if (pe->handler && sigcode >= pe->first && sigcode <= pe->last)
       {
 	preempt = pe->handler;
 	break;