unzip/unzip-5.51-link-segv2.patch

11 lines
346 B
Diff
Raw Normal View History

--- unzip-5.51/unix/unix.c.morn 2005-02-08 14:40:40.187895928 +0100
+++ unzip-5.51/unix/unix.c 2005-02-08 14:44:59.025546624 +0100
@@ -1002,6 +1002,7 @@
ush z_uidgid[2];
int have_uidgid_flg;
+ fchmod(fileno(G.outfile), 0400);
fclose(G.outfile);
/*---------------------------------------------------------------------------