c53c1f0ab8
Fixes an APOP authentication vulnerability (CVE-2007-1558). ok bernd@
13 lines
456 B
Plaintext
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)
|