From 0677a80cdf98418cfe641d27cfc492d7459c5b45 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 22 Feb 1995 23:11:54 +0000 Subject: * hurd/hurdsig.c (_hurd_internal_post_signal): Ignore preempter elts with null handlers. --- hurd/hurdsig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hurd') diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index 2c6f6a1..d93d4c2 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; -- cgit v1.1