55880a58e1
- Update to version 1.0.26: * Fix for CVE-2014-9496, CVE-2014-9756 and CVE-2015-7805. * Add ALAC/CAF support. Minor bug fixes and improvements. - Update to version 1.0.26: * Fix for CVE-2014-9496, CVE-2014-9756 and CVE-2015-7805. * Add ALAC/CAF support. Minor bug fixes and improvements. - Refreshed patches: sndfile-ocloexec.patch libsndfile-psf_strlcpy_crlf-fix-CVE-2015-8075.patch - Removed obsoleted patches: libsndfile-example-fix.diff libsndfile-fix-header-read-CVE-2015-7805.patch libsndfile-paf-zero-division-fix.diff libsndfile-src-common.c-Fix-a-header-parsing-bug.patch libsndfile-src-file_io.c-Prevent-potential-divide-by-zero.patch sndfile-src-sd2.c-Fix-segfault-in-SD2-RSRC-parser.patch sndfile-src-sd2.c-Fix-two-potential-buffer-read-overflows.patch OBS-URL: https://build.opensuse.org/request/show/345901 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsndfile?expand=0&rev=50
17 lines
321 B
Diff
17 lines
321 B
Diff
---
|
|
src/file_io.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
--- a/src/file_io.c
|
|
+++ b/src/file_io.c
|
|
@@ -570,6 +570,9 @@ psf_open_fd (PSF_FILE * pfile)
|
|
return - SFE_BAD_OPEN_MODE ;
|
|
break ;
|
|
} ;
|
|
+#ifdef O_CLOEXEC
|
|
+ oflag |= O_CLOEXEC;
|
|
+#endif
|
|
|
|
if (mode == 0)
|
|
fd = open (pfile->path.c, oflag) ;
|