[Dovecot] crash with dovecot 2.2: Panic: Buffer full

Timo Sirainen tss at iki.fi
Sat Mar 16 15:16:09 EET 2013

On 16.3.2013, at 13.51, tonio at starbridge.org wrote:

> It's occured when accessing with imap on a large mailbox (around 50k
> messages)
> imap(clean-quarantine at spamguard.fr): Panic: Buffer full (4254 > 4248,
> pool <none>)
> #7  0x00007f9d1bcd4ba8 in quoted_printable_decode_full
> (                                                                                                                                                                                                                      
>    src=src at entry=0x677eb0 "enter\" bgcolor=3D\"#ffffff\"
> width=3D\"560\">\n  <table cellspacing=3D\"0\" border=3D\"0\"
> align=3D\"center\" style=3D\"margin: 0=\n auto;\" cellpadding=3D\"0\"
> width=3D\"520\"><tr>\n<td align=3D\"left\" width=3D\"520\">\n 
> "...,            
>    src_size=5570, src_pos_r=src_pos_r at entry=0x7fff684221a8,
> dest=dest at entry=0x7fff684221b0, eof=eof at entry=false) at
> quoted-printable.c:60                                                                                                                                    

The problem is with a specific mail and trying to decode its quoted-printable data. I can maybe figure out the bug with this info already, but it would be helpful if you could send the specific mail that causes the crash. You can probably cause the crash easiest by doing:

telnet localhost 143
a login user pass
b select inbox
c search text testing

More information about the dovecot mailing list