HomeSolus
Diffusion file a71acf9fa075

Update file to 5.36

Authored by der_eismann on Feb 25 2019, 12:58 PM.

Description

Update file to 5.36

Summary:

  • Fix cast to use cast macros
  • Add UCS-32 builtin detection
  • Fix read and write stack overflows
  • Add FreeBSD ELF core file support
  • Allow all parameter values to be set (don't treat 0 specially) - handle default annotations on the softmagic match instead at the end.
  • Recognize JSON files
  • file --mime-encoding should not print mime-type
  • Add Quad indirect offsets
  • Enable parsing of ELF dynamic sections to handle PIE better
  • extend the support for ${x?:} expansions for magic descriptions
  • add support for ${x?:} in mime types to handle PIE binaries.
  • add support for negative offsets (offsets from the end of file)
  • close the file on error when writing magic
  • seccomp support

Test Plan:
Built minikube again, metadata didn't change

$ file minikube-0.34.1-9-1-x86_64.eopkg
minikube-0.34.1-9-1-x86_64.eopkg: Zip archive data, at least v2.0 to extract
$ file package.yml
package.yml: ASCII text
$ file --version
file-5.36
magic file from /usr/share/file/magic

Reviewers: Triage Team, JoshStrobl

Reviewed By: Triage Team, JoshStrobl

Differential Revision: https://dev.getsol.us/D5504

Details

Committed
JoshStroblFeb 25 2019, 1:02 PM
Pushed
JoshStroblFeb 25 2019, 1:02 PM
Reviewer
Triage Team
Differential Revision
D5504: Update file to 5.36
Parents
R750:069877884788: Address CVE-2018-10360, add protection for file changes that break ypkg
Branches
Unknown
Tags
Unknown
References
tag: file-5.36-17