freebsd-ports/mail/qmail/files/extra-patch-smtpextfork-qmail-smtpd.c
Bryan Drewery 7b01d09ebb - Fix runtime crash when using SMTPEXTFORK option due to
calling strtok(3) without string.h included.
  Not reported "upstream" as the last update was 2009
  and the site is dead.

Reported by:	Christopher Weimann <christopher@weimann.us>
2013-02-06 04:49:01 +00:00

7 lines
220 B
C

--- qmail-smtpd.c.orig 2013-02-05 21:28:49.477460299 -0600
+++ qmail-smtpd.c 2013-02-05 21:29:23.512455333 -0600
@@ -1,3 +1,4 @@
+#include <string.h>
#include "readwrite.h"
#include "stralloc.h"
#include "substdio.h"