diff --git a/file-5.41-cache-regexps.patch b/file-5.41-cache-regexps.patch index 45b95ef..2c3fcc3 100644 --- a/file-5.41-cache-regexps.patch +++ b/file-5.41-cache-regexps.patch @@ -75,7 +75,7 @@ Index: file-5.41/src/apprentice.c if (ma[j].cont_level == 0) break; v->nmagic = j - i; -+ v->magic_rxcomp = ml->magic_rxcomp; ++ v->magic_rxcomp = &(ml->magic_rxcomp[i]); return 0; } } diff --git a/file.changes b/file.changes index 8603a43..92de5a1 100644 --- a/file.changes +++ b/file.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 13 20:41:49 UTC 2022 - Dirk Müller + +- update file-5.41-cache-regexps.patch to fix cache offset + miscalculation (bsc#1197780) + ------------------------------------------------------------------- Wed Mar 23 09:02:37 UTC 2022 - Dirk Müller