c7ada8574c
-open file descriptors with O_CLOEXEC but only in the· gzopen() case, not in gzdopen() as that would change the calling application' semantics. It is responsability of the caller to ensure O_CLOEXEC is used in such scenario. only matters in 32 bit. what version to use is still - Fix two bugs that will break ia64 systems only. * This are integrated now,including support for a number now with comments,performance numbers,and ia64 support - Update SSE2/MMX patches to version 2. this makes the library up to 6 times faster. - use compiler profile information to make libz slightly faster. contributions in contrib/ - refresh patches with fuzz=0 - added LICENSE file, for GPL licensed contrib files, however mail either the security team or me. - add patch from gentoo that makes zlib to only export - run make test in the check section. - remove libgz completely (obsolete long ago) - supply format arguments to gzprintf(). - update to 1.2.2 - update to 1.2.1 - remove executable bits from manpage and include file - prevent double free() (security problem) with - added Provides zlib-devel for compatibility - install main lib in /%{_lib} not /usr/%{_lib} - sorted (forwarded request 91106 from elvigia) OBS-URL: https://build.opensuse.org/request/show/91199 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zlib?expand=0&rev=41
11 lines
268 B
Diff
11 lines
268 B
Diff
--- gzlib.c.orig
|
|
+++ gzlib.c
|
|
@@ -167,6 +167,7 @@ local gzFile gz_open(path, fd, mode)
|
|
#ifdef O_BINARY
|
|
O_BINARY |
|
|
#endif
|
|
+ O_CLOEXEC |
|
|
(state->mode == GZ_READ ?
|
|
O_RDONLY :
|
|
(O_WRONLY | O_CREAT | (
|