28 lines
915 B
Diff
28 lines
915 B
Diff
From bb245a645b69602582e14bccda0158209b38c74b Mon Sep 17 00:00:00 2001
|
|
From: Felix Kaechele <felix@kaechele.ca>
|
|
Date: Thu, 7 Oct 2021 22:42:57 -0400
|
|
Subject: [PATCH] fix valid wavepack header versions
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1940701
|
|
|
|
Signed-off-by: Felix Kaechele <felix@kaechele.ca>
|
|
---
|
|
src/format_wv.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/format_wv.c b/src/format_wv.c
|
|
index 3222bc8..288fee3 100644
|
|
--- a/src/format_wv.c
|
|
+++ b/src/format_wv.c
|
|
@@ -251,7 +251,7 @@ static bool is_our_file(char *filename)
|
|
|
|
little_endian_to_native(wph4,WavpackHeader4Format);
|
|
|
|
- if (tagcmp((unsigned char *)wph4->ckID,(unsigned char *)WAVPACK_MAGIC) || wph4->version < 4 || wph4->version > 0x40f) {
|
|
+ if (tagcmp((unsigned char *)wph4->ckID,(unsigned char *)WAVPACK_MAGIC) || wph4->version < 4 || wph4->version > 0x410) {
|
|
return FALSE;
|
|
}
|
|
|
|
--
|
|
2.33.0
|
|
|