Page MenuHomeSolus

Update file to 5.38
ClosedPublic

Authored by fmonteiro on Jan 4 2020, 4:13 AM.

Details

Summary

Changelog:

  • Always accept -S (no sandbox) even if we don't support sandboxing
  • More syscalls elided for sandboxiing
  • For ELF dynamic means having an interpreter not just PT_DYNAMIC
  • Check for large ELF session header offset
  • When saving and restoring a locale, keep the locale name in our own storage.
  • Add a flag to disable CSV file detection.
  • Don't pass NULL/0 to memset to appease sanitizers.
  • Avoid spurious prints when looks for extensions or apple strings in fsmagic.
  • Add builtin decompressors for xz and and bzip.
  • Add a limit for the number of CDF elements.
  • More checks for overflow in CDF.
Test Plan
file file-5.38-19-1-x86_64.eopkg 
file-5.38-19-1-x86_64.eopkg: Zip archive data, at least v2.0 to extract
file package.yml
package.yml: ASCII text
file --version
file-5.38
magic file from /usr/share/file/magic

Diff Detail

Repository
R750 file
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

fmonteiro requested review of this revision.Jan 4 2020, 4:13 AM
fmonteiro created this revision.
JoshStrobl requested changes to this revision.Jan 5 2020, 12:29 PM
JoshStrobl added a subscriber: JoshStrobl.

You have unnecessary indentation for your list items.

This revision now requires changes to proceed.Jan 5 2020, 12:29 PM
fmonteiro edited the summary of this revision. (Show Details)Jan 5 2020, 5:22 PM
fmonteiro requested review of this revision.Jan 5 2020, 6:55 PM
JoshStrobl accepted this revision.Jan 9 2020, 9:30 AM

LGTM, thanks!

This revision is now accepted and ready to land.Jan 9 2020, 9:30 AM
This revision was automatically updated to reflect the committed changes.