Date: Thu, 8 Dec 2005 17:28:01 +0100 (CET) From: Divacky Roman <xdivac02@stud.fit.vutbr.cz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/90106: patch for dovecot Message-ID: <200512081628.jB8GS1I3007666@eva.fit.vutbr.cz> Resent-Message-ID: <200512081630.jB8GU3FF054097@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 90106 >Category: ports >Synopsis: patch for dovecot >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 08 16:30:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Divacky Roman >Release: FreeBSD 4.11-STABLE i386 >Organization: home >Environment: System: FreeBSD eva.fit.vutbr.cz 4.11-STABLE FreeBSD 4.11-STABLE #11: Tue Jul 19 08:56:09 CEST 2005 root@tereza.fit.vutbr.cz:/home/src/sys/sys-49/compile/EVA i386 >Description: mail/dovecot alpha4 contains a a bug: Dec 8 10:32:41 ns dovecot: imap(zklecka): file mail-index-sync-ext.c: line 155 (get_ext_header): assertion failed: (memcmp((char *)(ext_hdr + 1), ext->name, strlen(ext->name)) == 0) >How-To-Repeat: it happens ;) >Fix: Index: src/lib-index/mail-index-sync-ext.c =================================================================== RCS file: /home/cvs/dovecot/src/lib-index/mail-index-sync-ext.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- src/lib-index/mail-index-sync-ext.c 24 Sep 2005 10:12:03 -0000 1.11 +++ src/lib-index/mail-index-sync-ext.c 28 Oct 2005 14:10:13 -0000 1.12 @@ -332,6 +332,7 @@ unsigned i, count = array_count(&map->extensions); ssize_t diff = (ssize_t)new_size - (ssize_t)old_size; + ext = array_idx_modifyable(&map->extensions, 0); for (i = ext_id + 1; i < count; i++) ext[i].hdr_offset += diff; } >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512081628.jB8GS1I3007666>