Date: Sat, 3 Nov 2007 13:07:20 -0400 (EDT) From: "Robert C. Noland III" <rnoland@2hip.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gnome@FreeBSD.org Subject: ports/117791: [PATCH] databases/evolution-data-server: Fix segfault on new installs Message-ID: <200711031707.lA3H7KSI002054@bbeng-laptop.acs.internap.com> Resent-Message-ID: <200711031840.lA3Ie2Z8098871@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 117791 >Category: ports >Synopsis: [PATCH] databases/evolution-data-server: Fix segfault on new installs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Nov 03 18:40:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Robert C. Noland III >Release: FreeBSD 8.0-CURRENT i386 >Organization: >Environment: System: FreeBSD bbeng-laptop.acs.internap.com 8.0-CURRENT FreeBSD 8.0-CURRENT #92: Mon Oct 15 12:26:58 EDT 2007 >Description: Evolution will segfault while trying to collect timezone data on a new install. Off by one test in timezone parsing. Port maintainer (gnome@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- evolution-data-server-1.12.1_2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/databases/evolution-data-server/Makefile,v retrieving revision 1.41 diff -u -r1.41 Makefile --- Makefile 24 Oct 2007 23:35:16 -0000 1.41 +++ Makefile 3 Nov 2007 17:04:29 -0000 @@ -8,7 +8,7 @@ PORTNAME= evolution-data-server PORTVERSION= 1.12.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} Index: files/patch-calendar_libical_src_libical_icaltz-util.c =================================================================== RCS file: /home/ncvs/ports/databases/evolution-data-server/files/patch-calendar_libical_src_libical_icaltz-util.c,v retrieving revision 1.1 diff -u -r1.1 patch-calendar_libical_src_libical_icaltz-util.c --- files/patch-calendar_libical_src_libical_icaltz-util.c 24 Oct 2007 23:35:17 -0000 1.1 +++ files/patch-calendar_libical_src_libical_icaltz-util.c 3 Nov 2007 17:04:29 -0000 @@ -1,5 +1,5 @@ ---- calendar/libical/src/libical/icaltz-util.c.orig 2007-08-24 02:48:28.000000000 -0400 -+++ calendar/libical/src/libical/icaltz-util.c 2007-08-27 16:23:59.000000000 -0400 +--- calendar/libical/src/libical/icaltz-util.c.orig 2007-10-12 02:31:10.000000000 -0400 ++++ calendar/libical/src/libical/icaltz-util.c 2007-11-03 12:22:24.000000000 -0400 @@ -23,6 +23,15 @@ #include <string.h> #if defined(sun) && defined(__SVR4) @@ -16,3 +16,12 @@ #else #include <byteswap.h> #include <endian.h> +@@ -148,7 +157,7 @@ + idx = trans_idx [i]; + types [idx].isdst ? (*dstidx = i) : (*stdidx = i); + +- if (i >= num_trans) ++ if (i >= num_trans - 1) + i--; + else + i++; --- evolution-data-server-1.12.1_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711031707.lA3H7KSI002054>