[Bug 3286] sshd dumps core after authentication timeout

bugzilla-daemon at mindrot.org
Fri, 30 Apr 2021 06:08:19 -0000

Darren Tucker <dtucker at dtucker.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3504|ok?(dtucker at dtucker.net)    |ok+
              Flags|                            |

--- Comment #10 from Darren Tucker <dtucker at dtucker.net> ---
Comment on attachment 3504
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3504
avoid sigdie() in privsep child

I could imagine it happening if signal(SIGALRM..) was reset during fork
but not for sigaction but I don't known that this is the case.  The man
page for alarm(1) only says:

       Alarms  created  by  alarm() are preserved across execve(2) and
are not
       inherited by children created via fork(2).