File fastjar-0.98-fix.patch of Package fastjar

--- jartool.c.orig	2010-03-01 15:12:21.000000000 +0100
+++ jartool.c	2010-03-01 15:12:33.000000000 +0100
@@ -790,6 +790,7 @@
 		   progname, jarfile);
 	  return 1;
 	}
+      ze->filename[len] = '\0';
       len = UNPACK_UB4(header, CEN_EFLEN);
       len += UNPACK_UB4(header, CEN_COMLEN);
       if (lseek (fd, len, SEEK_CUR) == -1)
openSUSE Build Service is sponsored by