156d881
--- patch-2.5.4/partime.c.parse	1998-03-15 15:48:53.000000000 +0000
156d881
+++ patch-2.5.4/partime.c	2005-09-07 08:04:41.000000000 +0000
156d881
@@ -792,7 +792,8 @@
156d881
 	if (negative)
156d881
 	  n = -n;
156d881
 	while (!ISALNUM ((unsigned char) *s))
156d881
-	  s++;
156d881
+	  if (*s++ == '\0')
156d881
+	    return 0;
156d881
 	i = lookup (s, relative_units);
156d881
 	if (!TM_DEFINED (i))
156d881
 	  return 0;