Skip to content

0.9.21

Latest

Choose a tag to compare

@weichsel weichsel released this 21 Nov 10:15

Added

  • Added support for compressed symlinks
  • Added symlinksValidWithin parameter to control symlink containment
  • Added support for symlink modification dates on Linux
  • Added initial support for file-backed archives on Windows
  • Added package manifest for Swift 6.4

Updated

  • Fixed symlink containment bypass via chained symlinks
  • Fixed crashes and endless loops when reading malformed archives
  • Fixed use-after-free of data that is passed to consumers during compression and decompression
  • Fixed crash when adding entries to archives with an invalid central directory
  • Fixed data loss and invalid offsets when removing entries
  • Fixed duplicated central directory after cancelling the addition of an entry
  • Fixed sizes of ZIP64 entries with 4 byte data descriptors
  • Fixed reading of ZIP64 archives with a low "version needed to extract"
  • Fixed detection of directory entries with a trailing path delimiter
  • Fixed memory growth and slow opening of archives with many entries
  • Fixed build errors on Android for file-backed archives
  • Fixed warnings in package manifest
  • Updated path traversal checks for entries and symlinks during extraction
  • Updated the watchOS minimum from 4 to 5 for Swift Package Manager with Swift 5.9 through 6.3