aefcb517e0
- The 'isync' compatibility wrapper is now deprecated. - An IMAP Path/NAMESPACE rooted in INBOX won't be handled specially any more. This means that some Patterns may need adjustment. - The default output is a lot less verbose now. The meanings of the -V and -D options changed significantly. - The SSL/TLS configuration has been re-designed. SSL is now explicitly enabled or disabled - "use SSL if available" is gone. Notice: Tunnels are assumed to be secure and thus default to no SSL. - Support for SASL (flexible authentication) has been added. - Support for Windows file systems has been added. - Support for compressed data transfer has been added. - Folder deletions can be propagated now.
18 lines
470 B
C
18 lines
470 B
C
$NetBSD: patch-src_socket.c,v 1.4 2016/12/15 14:15:01 schmonz Exp $
|
|
|
|
Prevent mbsync from crashing, PR pkg/49784.
|
|
|
|
--- src/socket.c.orig 2015-09-27 10:13:04.000000000 +0000
|
|
+++ src/socket.c
|
|
@@ -509,7 +509,10 @@ static void
|
|
socket_connected( conn_t *conn )
|
|
{
|
|
#ifdef HAVE_IPV6
|
|
- freeaddrinfo( conn->addrs );
|
|
+ if ( conn->addrs ) {
|
|
+ freeaddrinfo( conn->addrs );
|
|
+ conn->addrs = NULL;
|
|
+ }
|
|
#endif
|
|
conf_notifier( &conn->notify, 0, POLLIN );
|
|
conn->state = SCK_READY;
|