[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

smtpserver segfaults in 50-s17



in the 2.99.50-s17 tarball smtpserver.c, line 1939 reads:

	switch (code && SS) {

which is obviously incorrect.  Neither case is matched, "text" is left
NULL, and subsequent vfprintf() segfaults.  In addition to changing the
line above to normal

	switch (code) {

it seems a Right Thing(tm) to include a default case like

	default: text="<unspecified>";

Matti, did you mean anything clever here? ;-)

Eugene