summaryrefslogtreecommitdiff
path: root/mail/sendmail/files/patch-alias.c
blob: 7f4a9a1f3dfdead1701b933686df97c7dc3cc04e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- sendmail/alias.c.orig	2021-06-09 08:27:53 UTC
+++ sendmail/alias.c
@@ -817,10 +817,13 @@ readaliases(map, af, announcestats, logstats)
 				(void) sm_io_ungetc(af, SM_TIME_DEFAULT, c);
 			if (c != ' ' && c != '\t')
 				break;
+#if _FFR_8BITENVADDR
+			syserr("554 5.3.5 Continuation line currently not supported for USE_EAI nor _FFR_EIGHT_BIT_ADDR_OK");
+#endif
 
 			/* read continuation line */
 			if (sm_io_fgets(af, SM_TIME_DEFAULT, p,
-					sizeof(line) - (p-line)) < 0)
+					sizeof(lbuf) - (p-line)) < 0)
 				break;
 			LineNumber++;