From: Joseph Sutton Date: Wed, 20 Sep 2023 03:01:26 +0000 (+1200) Subject: libcli/security: Test hex‐escapes that should be literals X-Git-Tag: tevent-0.16.0~366 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=489693055950f083ecdac19f4e41d2f913b8746b;p=thirdparty%2Fsamba.git libcli/security: Test hex‐escapes that should be literals Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/libcli/security/tests/test_sddl_conditional_ace.c b/libcli/security/tests/test_sddl_conditional_ace.c index 9aa87fbf0b1..5ce9dbab87a 100644 --- a/libcli/security/tests/test_sddl_conditional_ace.c +++ b/libcli/security/tests/test_sddl_conditional_ace.c @@ -782,6 +782,10 @@ static void test_a_number_of_invalid_strings(void **state) "()", /* relational op with with complex RHS */ "(@Device.bb == (@USER.x < 62))", + /* hex‐escapes that should be literals */ + ("(@Device.%002e == 3)"), + ("(@Device.%002f == 3)"), + ("(@Device.%003a == 3)"), }; size_t i, length; TALLOC_CTX *mem_ctx = talloc_new(NULL);