dovecot-2.2: DEBUG: buffer_verify_pool() crashed with static siz...

dovecot at dovecot.org dovecot at dovecot.org
Wed Jan 9 05:39:06 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/427dd81baa8d
changeset: 15603:427dd81baa8d
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jan 08 03:44:14 2013 +0200
description:
DEBUG: buffer_verify_pool() crashed with static sized buffers.

diffstat:

 src/lib/buffer.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 3e3e0b482a36 -r 427dd81baa8d src/lib/buffer.c
--- a/src/lib/buffer.c	Tue Jan 08 03:25:55 2013 +0200
+++ b/src/lib/buffer.c	Tue Jan 08 03:44:14 2013 +0200
@@ -320,7 +320,7 @@
 	const struct real_buffer *buf = (const struct real_buffer *)_buf;
 	void *ret;
 
-	if (buf->pool->datastack_pool) {
+	if (buf->pool != NULL && buf->pool->datastack_pool) {
 		/* this doesn't really do anything except verify the
 		   stack frame */
 		ret = p_realloc(buf->pool, buf->w_buffer,


More information about the dovecot-cvs mailing list