CVE-2008-0888, CVE-2005-4667, CAN-2005-2475 Enable ACORN_FTYPE_NFS and WILD_STOP_AT_DIR options PR: 122367 Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
30 lines
624 B
C
30 lines
624 B
C
--- unzip-5.52.orig/unzpriv.h
|
|
+++ unzpriv.h
|
|
@@ -1081,6 +1081,7 @@
|
|
# define FOPR "r","ctx=stm"
|
|
# define FOPM "r+","ctx=stm","rfm=fix","mrs=512"
|
|
# define FOPW "w","ctx=stm","rfm=fix","mrs=512"
|
|
+# define FOPWR "w+","ctx=stm","rfm=fix","mrs=512"
|
|
#endif /* VMS */
|
|
|
|
#ifdef CMS_MVS
|
|
@@ -1117,6 +1118,9 @@
|
|
# ifndef FOPWT
|
|
# define FOPWT "wt"
|
|
# endif
|
|
+# ifndef FOPWR
|
|
+# define FOPWR "w+b"
|
|
+# endif
|
|
#else /* !MODERN */
|
|
# ifndef FOPR
|
|
# define FOPR "r"
|
|
@@ -1130,6 +1134,9 @@
|
|
# ifndef FOPWT
|
|
# define FOPWT "w"
|
|
# endif
|
|
+# ifndef FOPWR
|
|
+# define FOPWR "w+b"
|
|
+# endif
|
|
#endif /* ?MODERN */
|
|
|
|
/*
|