On 2014/06/22 05:39, Brad Smith wrote: > On Sun, Jun 22, 2014 at 05:01:38AM +0200, J??r??mie Courr??ges-Anglas wrote: > > > > (Redirecting this to ports@) > > > > Could you folks test this patch against dovecot from -stable? I only > > did compile testing on -current. I don't know how the allocator(s) > > handle failures nor how would i_realloc handle pwbuf_size == > > old_pwbuf_size, but this looks safe. > > > > > > $OpenBSD$ > > > > Hack: we avoid the actual ERANGE error case by always providing a large > > enough buffer. > > I'd prefer to use the diff I had commited when this issue first came > up although back then local auth didn't work at all without the hack > that was added. I don't have a 5.5 system around at the moment so > please check this builds first and then test as appropriate.
Confirmed it builds on 5.5 but the only 5.5 system I can find at the moment is a live mailserver that I can't disrupt to test it.