--- 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
@@ -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++;
