openbsd-ports/mail/mutt/stable/patches/patch-system_c
kili c53c1f0ab8 Security update to 1.4.2.3.
Fixes an APOP authentication vulnerability (CVE-2007-1558).

ok bernd@
2007-06-15 19:01:07 +00:00

13 lines
456 B
Plaintext

$OpenBSD: patch-system_c,v 1.2 2007/06/15 19:01:07 kili Exp $
--- system.c.orig Wed May 23 03:17:54 2007
+++ system.c Mon May 28 19:10:48 2007
@@ -110,7 +110,7 @@ int _mutt_system (const char *cmd, int flags)
sigaction (SIGTSTP, &act, NULL);
sigaction (SIGCONT, &act, NULL);
- execl (EXECSHELL, "sh", "-c", cmd, NULL);
+ execl (EXECSHELL, "sh", "-c", cmd, (void *)NULL);
_exit (127); /* execl error */
}
else if (thepid != -1)