Skip to content

Releases: UInt2048/Light-Swift-Untar

v1.0.4

24 Nov 13:51
fcff1f1
Compare
Choose a tag to compare
Add support for UTF-8 encoded filenames (#3)

v1.0.3

24 Nov 13:51
ad158d2
Compare
Choose a tag to compare
Prevent heap overflow / fix null-terminated name handling / better ap…

v1.0.2

24 Nov 13:50
7f697b3
Compare
Choose a tag to compare
Fix crash when converting size string to UInt64 (#1)

For some tar files, `sizeString` returns a string with a whitespace at the end. 
`UInt64(sizeString, radix: 8)` would then return `nil`, and unwrapping the optional with `!` would lead to a crash.

Unlike the `UInt64` constructor, `strtoull` properly handles the string with whitespace at the end.

Another option would be to trim the whitespaces at the end of `sizeString` but it seemed safer
to avoid manipulating that string.

v1.0.1

07 Jun 16:14
Compare
Choose a tag to compare
Add discardable result

v1.0.0 - First release

06 Jun 15:02
Compare
Choose a tag to compare

Tar file extract utility written in Swift