Re: PATCH: smtpd: don't strcmp() NULL in mta_relay_cmp()

2019-09-13 Thread Gilles Chehade
On Fri, Sep 13, 2019 at 09:34:33PM +0200, Caspar Schutijser wrote: > Hi, > Hi, > smtpd crashed on one of my machines. I attempted to start it again but > it crashed again after a few seconds. > > [...] > > So I think the problem is that b->backupname is passed to strcmp() > without checking w

PATCH: smtpd: don't strcmp() NULL in mta_relay_cmp()

2019-09-13 Thread Caspar Schutijser
Hi, smtpd crashed on one of my machines. I attempted to start it again but it crashed again after a few seconds. After doing # sysctl kern.nosuidcoredump=3 # mkdir -m 700 /var/crash/smtpd and rebuilding smtpd with DEBUG=-g I obtained the following information: # egdb /usr/src/usr.sbin/smtpd