Page MenuHomeSolus

Update file to 5.38

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




  • 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
magic file from /usr/share/file/magic

Diff Detail

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

Event Timeline

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

You have unnecessary indentation for your list items.

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

LGTM, thanks!

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