ALT Linux Bugzilla
– Attachment 1655 Details for
Bug 10094
[Server 4.0.2] Deliver segfaulted when use unix socket for lmtp
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Attached patch fix this problem (check to NULL).
cyrus-imapd-deliver-segfault-fix.patch (text/plain), 586 bytes, created by
partizan
on 2006-10-06 09:13:10 MSD
(
hide
)
Description:
Attached patch fix this problem (check to NULL).
Filename:
MIME Type:
Creator:
partizan
Created:
2006-10-06 09:13:10 MSD
Size:
586 bytes
patch
obsolete
>diff -Naur cyrus-imapd-2.2.13.old/imap/backend.c cyrus-imapd-2.2.13/imap/backend.c >--- cyrus-imapd-2.2.13.old/imap/backend.c 2006-02-07 22:57:27 +0200 >+++ cyrus-imapd-2.2.13/imap/backend.c 2006-10-06 07:59:45 +0300 >@@ -338,7 +338,7 @@ > if (sock < 0) > continue; > /* Bind to local interface. */ >- if (!err) { >+ if (!err && res1) { > if (bind(sock, res1->ai_addr, res1->ai_addrlen) < 0) { > struct sockaddr_in *local_sockaddr = (struct sockaddr_in *) res1->ai_addr; > syslog(LOG_ERR, "failed to bind to address %s: %s",
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 10094
: 1655