Revert "tag/Pool: use strncmp() without strlen() to compare strings"

This reverts commit 1532983fb5.  This
optimization was bad because now all strings match if they are a
prefix of another string, and this caused collisions in the tag string
pool, corrupting the database.
This commit is contained in:
Max Kellermann
2021-04-15 16:13:27 +02:00
parent 1dc71f383a
commit 650a30d794
2 changed files with 3 additions and 4 deletions

2
NEWS
View File

@@ -6,6 +6,8 @@ ver 0.22.7 (not yet released)
- gme: support RSN files
* storage
- curl: don't use glibc extension
* database
- simple: fix database corruption bug
* output
- httpd: send header "Access-Control-Allow-Origin: *"
- wasapi: add algorithm for finding usable audio format