You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kodi crashes when the add-on "Archive support" is enabled and going into a directory which contains a zip which has subtitles in it. The filename has chinese characters, which crashes kodi.
Problem filename inside zip file is "大.srt".
Reproduce:
I've added a zip file named "subtitle.zip" which contains an empty filename "大.srt". When you try to enter a directory where this zip file exists Kodi will crash when you have add-on "Archive support" enabled. The zip file is created with 7-zip. Subtitle.zip
The text was updated successfully, but these errors were encountered:
I can reproduce a similar issue with files in UTF-8 except that Kodi 18.1 doesn't crash:
2021-08-14 12:08:43.579 T:4092 DEBUG <general>: CSMBFile::Open - opened smb://USERNAME:PASSWORD@DISKSTATION/3 Tera Backup/MP3/MP3 (compils)/La saga des tubes de l'été CD1/Multiinterpretes-Lasagadestubesdelete [2013].zip, fd=10000
2021-08-14 12:08:43.859 T:4092 WARNING <general>: AddOnLog: vfs.libarchive: ListArchive generated: 'Pathname cannot be converted from UTF-8 to current locale.'
2021-08-14 12:08:43.859 T:4092 DEBUG <general>: Interface_General::queue_notification - Archive support - Warning Message: 'Pathname cannot be converted from UTF-8 to current locale.'
Kodi crashes when the add-on "Archive support" is enabled and going into a directory which contains a zip which has subtitles in it. The filename has chinese characters, which crashes kodi.
Problem filename inside zip file is "大.srt".
Reproduce:
I've added a zip file named "subtitle.zip" which contains an empty filename "大.srt". When you try to enter a directory where this zip file exists Kodi will crash when you have add-on "Archive support" enabled. The zip file is created with 7-zip.
Subtitle.zip
The text was updated successfully, but these errors were encountered: