diff --git a/mach/sun2/libsys/sigvec.c b/mach/sun2/libsys/sigvec.c index 82a2e69d3..9b2fb21f8 100644 --- a/mach/sun2/libsys/sigvec.c +++ b/mach/sun2/libsys/sigvec.c @@ -29,7 +29,7 @@ sigvec(sig,vec,ovec) _sigfunc[sig] = old; return -1; } - if (ovec->handler == _sigtramp) { + if (ovec && ovec->handler == _sigtramp) { ovec->handler = old; } return 0;