xbmc / vfs.libarchive

Libarchive VFS add-on for Kodi
GNU General Public License v2.0
12 stars 24 forks source link

Fix crash if Zip file names are not encoded in UTF-8. #87

Closed thexai closed 2 years ago

thexai commented 2 years ago

Not all Zip tools supports UTF-8 file names. Seems UTF-8 or legacy encoded file names are stored in different fields, so UTF-8 field may be null.

In Zip files that file names are UTF-8 encoded (or UTF-8 field are not empty) works same as before.

Fixes https://github.com/xbmc/vfs.libarchive/issues/54 Fixes https://github.com/xbmc/xbmc/issues/21292

thexai commented 2 years ago

ping @AlwinEsch