FreeBSD Bugzilla – Attachment 91782 Details for
Bug 129260
[patch] mail/exim - reinitialize len before calling accept()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-exim-accept.txt
patch-exim-accept.txt (text/plain), 623 bytes, created by
Maxim Dounin
on 2008-11-28 16:50:01 UTC
(
hide
)
Description:
patch-exim-accept.txt
Filename:
MIME Type:
Creator:
Maxim Dounin
Created:
2008-11-28 16:50:01 UTC
Size:
623 bytes
patch
obsolete
>--- src/daemon.c.orig Sat Aug 30 03:49:46 2008 >+++ src/daemon.c Mon Sep 1 00:46:09 2008 >@@ -1613,7 +1613,7 @@ > struct sockaddr_in accepted; > #endif > >- EXIM_SOCKLEN_T len = sizeof(accepted); >+ EXIM_SOCKLEN_T len; > pid_t pid; > > /* This code is placed first in the loop, so that it gets obeyed at the >@@ -1808,6 +1808,7 @@ > { > if (FD_ISSET(listen_sockets[sk], &select_listen)) > { >+ len = sizeof(accepted); > accept_socket = accept(listen_sockets[sk], > (struct sockaddr *)&accepted, &len); > FD_CLR(listen_sockets[sk], &select_listen);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 129260
: 91782