Paul Lesniewski <[email protected]> wrote:
> Hmm, I cannot reproduce. Please keep us informed what you find, if
> anything....
I did not find the activity pattern that triggers it. It happens roughly once
a day.
I tried fixing an unchecked malloc, but it did not help. You can still check
the patch in, since it is a real bug, but not the one that triggers this
crash.
--- src/imapcommon.c.orig 2014-01-23 10:02:24.000000000 +0100
+++ src/imapcommon.c 2014-01-23 10:03:50.000000000 +0100
@@ -675,8 +675,13 @@
* didn't match.
* Open a connection to the IMAP server so we can attempt to login
*/
Server.conn = ( ICD_Struct * ) malloc( sizeof ( ICD_Struct ) );
+ if (Server.conn == NULL) {
+ syslog( LOG_ERR, "%s: malloc() failed: %s -- Exiting.", __func__,
+ strerror( errno ) );
+ exit( 1 );
+ }
memset( Server.conn, 0, sizeof ( ICD_Struct ) );
/* As a new connection, the ICD is not 'reused' */
Server.conn->reused = 0;
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
[email protected]
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
-----
squirrelmail-imapproxy mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.imapproxy
List info (subscribe/unsubscribe/change options):
https://lists.sourceforge.net/lists/listinfo/squirrelmail-imapproxy