mirror of
git://slackware.nl/current.git
synced 2025-02-09 22:00:48 +01:00
75a4a592e5
Mon Apr 25 13:37:00 UTC 2011 Slackware 13.37 x86_64 stable is released! Thanks to everyone who pitched in on this release: the Slackware team, the folks producing upstream code, and linuxquestions.org for providing a great forum for collaboration and testing. The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware project by picking up a copy from store.slackware.com. We're taking pre-orders now, and offer a discount if you sign up for a subscription. As always, thanks to the Slackware community for testing, suggestions, and feedback. :-) Have fun!
14 lines
488 B
Diff
14 lines
488 B
Diff
2010-03-01 Richard Guenther <rguenther@suse.de>
|
|
|
|
* jartool.c (read_entries): Properly zero-terminate filename.
|
|
|
|
--- fastjar-0.97/jartool.c 6 Sep 2009 22:16:00 -0000 1.59
|
|
+++ fastjar-0.97/jartool.c 1 Mar 2010 15:38:43 -0000 1.60
|
|
@@ -790,6 +790,7 @@ int read_entries (int fd)
|
|
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)
|