Fix bug #67390 insecure temporary file use in the configure script
Fix potential segfault in dns_get_record()

If the remote sends us a packet with a malformed TXT record,
we could end up trying to over-consume the packet and wander
off into overruns.
Fix bug #67249: printf out-of-bounds read
Fix bug #67251 - date_parse_from_format out-of-bounds read

Conflicts:
	ext/date/lib/parse_date.c
	ext/date/lib/parse_date.re
let make test report the run-test result
Fix bug #65873 - Integer overflow in exif_read_data()
Fixed bug #66060 (Heap buffer over-read in DateInterval)

Conflicts:
	ext/date/lib/parse_iso_intervals.c
Fixed bug #66307 Fileinfo crashes with powerpoint files

Conflicts:
	ext/fileinfo/libmagic/readcdf.c
	ext/fileinfo/tests/finfo_file_002.phpt
backport this piece from 5.6, related to the #66307 fix

Conflicts:
	ext/fileinfo/libmagic/readcdf.c
Fix bug #67327: fileinfo: CDF infinite loop in nelements DoS

Upstream fix: https://github.com/file/file/commit/f97486ef5dc3e8735440edc4fc8808c63e1a3ef0
Fix bug #67328 (fileinfo: numerous file_printf calls resulting in performance degradation)

Upstream patch: https://github.com/file/file/commit/b8acc83781d5a24cc5101e525d15efe0482c280d
Fix bug #67247	spl_fixedarray_resize integer overflow
Fix bug #67250 (iptcparse out-of-bounds read)
Fix bug #67252: convert_uudecode out-of-bounds read
fix bug #67253: timelib_meridian_with_check out-of-bounds read

Conflicts:
	ext/date/lib/parse_date.c
Fix bug #67326	fileinfo: cdf_read_short_sector insufficient boundary check

Upstream fix https://github.com/file/file/commit/6d209c1c489457397a5763bca4b28e43aac90391.patch
Only revelant part applied
Fix bug #67498 - phpinfo() Type Confusion Information Leak Vulnerability
Fixed Bug #67410 fileinfo: mconvert incorrect handling of truncated pascal string size

Upstream
https://github.com/file/file/commit/27a14bc7ba285a0a5ebfdb55e54001aa11932b08
Fixed Bug #67411 	fileinfo: cdf_check_stream_offset insufficient boundary check

Upstream:
https://github.com/file/file/commit/36fadd29849b8087af9f4586f89dbf74ea45be67

Conflicts:
	ext/fileinfo/libmagic/cdf.c
Bug #67412 	fileinfo: cdf_count_chain insufficient boundary check

Upstream:
https://github.com/file/file/commit/40bade80cbe2af1d0b2cd0420cebd5d5905a2382