Subj : src/sbbs3/mailsrvr.c To : Git commit to main/sbbs/master From : Rob Swindell Date : Sat Apr 24 2021 12:28 am https://gitlab.synchro.net/main/sbbs/-/commit/c21d535dc7b127e029c0203a Modified Files: src/sbbs3/mailsrvr.c Log Message: Fix observed crashes at end of pop3_thread() and smtp_thread() "startup" was being deref'd after the caller free'd it because these thread functions were calling thread_down() before calling mail_close_socket(), which deref's startup which was subject to a race condition. .