doc/share/security/patches/SA-14:11/sendmail.patch
Xin LI e6520ef815 Add 3 latest advisories and 1 errata:
Fix sendmail improper close-on-exec flag handling. [SA-14:11]

Fix ktrace memory disclosure. [SA-14:12]

Fix incorrect error handling in PAM policy parser. [SA-14:13]

Fix triple-fault when executing from a threaded process. [EN-14:06]
2014-06-03 19:32:04 +00:00

15 lines
433 B
Diff

Index: contrib/sendmail/src/conf.c
===================================================================
--- contrib/sendmail/src/conf.c (revision 266538)
+++ contrib/sendmail/src/conf.c (working copy)
@@ -5309,8 +5309,8 @@ closefd_walk(lowest, fd)
*/
void
-sm_close_on_exec(highest, lowest)
- int highest, lowest;
+sm_close_on_exec(lowest, highest)
+ int lowest, highest;
{
#if HASFDWALK
(void) fdwalk(closefd_walk, &lowest);