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]
15 lines
433 B
Diff
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);
|