If there's a reason at all to ship openbsd-compat/sigact.c these days, then a better support is needed for sigaction() and friends on non-POSIX systems. There are NULL dereferences that shouldn't be there... A summary of changes: + No NULL dereferences. + Added sigfillset() + Return -1 with errno set to EINVAL for corner cases.
Created attachment 1193 [details] Better sigaction() emulation on non-POSIX systems
Created attachment 1527 [details] tidied diff Slightly tidied diff.
fix applied - thanks!
Mass update RESOLVED->CLOSED after release of openssh-5.1