db/update/Archive: validate directory names

Fixes assertion failure if the ZIP file contains a path that begins
with a slash.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1793
This commit is contained in:
Max Kellermann
2023-04-30 08:42:32 +02:00
parent 96befa138c
commit 1417578b3d
2 changed files with 5 additions and 0 deletions

2
NEWS
View File

@@ -1,6 +1,8 @@
ver 0.23.13 (not yet released)
* input
- curl: fix busy loop after connection failed
* archive
- zzip: fix crash bug
* decoder
- gme: require GME 0.6 or later
* output