SCCS-vsn: usr.sbin/sendmail/src/recipient.c 8.13
-static char sccsid[] = "@(#)recipient.c 8.12 (Berkeley) %G%";
+static char sccsid[] = "@(#)recipient.c 8.13 (Berkeley) %G%";
#endif /* not lint */
# include "sendmail.h"
#endif /* not lint */
# include "sendmail.h"
ADDRESS *sibl; /* sibling pointer in tree */
ADDRESS *prev; /* previous sibling */
ADDRESS *sibl; /* sibling pointer in tree */
ADDRESS *prev; /* previous sibling */
+ if (list == NULL)
+ {
+ syserr("sendtolist: null list");
+ return 0;
+ }
+
if (tTd(25, 1))
{
printf("sendto: %s\n ctladdr=", list);
if (tTd(25, 1))
{
printf("sendto: %s\n ctladdr=", list);