summaryrefslogtreecommitdiffstats
path: root/thirdparty/minizip/ioapi.h
diff options
context:
space:
mode:
authorDeeJayLSP <djlsplays@gmail.com>2022-11-30 11:16:31 -0300
committerRémi Verschelde <rverschelde@gmail.com>2023-01-07 13:03:06 +0100
commit93409b8e64a9bc3c271ab4a7489b59a43bc0d048 (patch)
treebdc406e5e4861818ec5b4b9a36c4fa1b9850b3f6 /thirdparty/minizip/ioapi.h
parent163f6f5fe87d11645e94cd49f41226ab03063e53 (diff)
downloadredot-engine-93409b8e64a9bc3c271ab4a7489b59a43bc0d048.tar.gz
zlib/minizip: Update to version 1.2.13, remove zlib from freetype
Security update, fixes CVE-2022-37434 in zlib. Only applications exposing/using `inflateGetHeader()` seem to be affected, which is not our case, so this is not critical for Godot. Remove duplicated copy of zlib in freetype sources to force using the updated version in `thirdparty/zlib/`. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Diffstat (limited to 'thirdparty/minizip/ioapi.h')
-rw-r--r--thirdparty/minizip/ioapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/minizip/ioapi.h b/thirdparty/minizip/ioapi.h
index e9e5899852..083062ffe6 100644
--- a/thirdparty/minizip/ioapi.h
+++ b/thirdparty/minizip/ioapi.h
@@ -66,7 +66,7 @@
#define ftello64 ftell
#define fseeko64 fseek
#else
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
#define fopen64 fopen
#define ftello64 ftello
#define fseeko64 fseeko