diff mbox series

[meta-oe,kirkstone] redis: update test error message in CVE patch

Message ID 20251113091559.1188351-1-skandigraun@gmail.com
State New
Headers show
Series [meta-oe,kirkstone] redis: update test error message in CVE patch | expand

Commit Message

Gyorgy Sarvari Nov. 13, 2025, 9:15 a.m. UTC
The expected error message has changed between versions - update the test
in the patch accordingly.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
---
 .../recipes-extended/redis/redis-7.0.13/CVE-2024-51741.patch  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/redis/redis-7.0.13/CVE-2024-51741.patch b/meta-oe/recipes-extended/redis/redis-7.0.13/CVE-2024-51741.patch
index e3a43fe896..b8e5bf4444 100644
--- a/meta-oe/recipes-extended/redis/redis-7.0.13/CVE-2024-51741.patch
+++ b/meta-oe/recipes-extended/redis/redis-7.0.13/CVE-2024-51741.patch
@@ -71,7 +71,7 @@  index d836f9c..0b83b89 100644
 +        $r2 auth key-permission-RW password
 +        catch {$r2 SET x 5} err
 +        set err
-+    } {NOPERM No permissions to access a key}
++    } {NOPERM this user has no permissions to access one of the keys used as arguments}
 +
 +    test {Validate read and write permissions format - no pattern} {
 +        # No pattern results with R/W access to no key (currently we accept this syntax error)
@@ -79,7 +79,7 @@  index d836f9c..0b83b89 100644
 +        $r2 auth key-permission-RW password
 +        catch {$r2 SET x 5} err
 +        set err
-+    } {NOPERM No permissions to access a key}
++    } {NOPERM this user has no permissions to access one of the keys used as arguments}
 +
      test {Test separate read and write permissions on different selectors are not additive} {
          r ACL SETUSER key-permission-RW-selector on nopass "(%R~read* +@all)" "(%W~write* +@all)"