From: Pauli Date: Sun, 15 Jan 2023 23:04:11 +0000 (+1100) Subject: Add negative test for unquoted property string X-Git-Tag: openssl-3.2.0-alpha1~1429 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=543ac2f0191f10d8a3774727fa691543de8b15bb;p=thirdparty%2Fopenssl.git Add negative test for unquoted property string Reviewed-by: Richard Levitte Reviewed-by: Hugo Landau Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/20023) --- diff --git a/test/property_test.c b/test/property_test.c index 3b978638036..cd89958a01b 100644 --- a/test/property_test.c +++ b/test/property_test.c @@ -194,6 +194,7 @@ static const struct { { 0, "a=abc,#@!, n=1" }, /* non-ASCII character located */ { 1, "a='Hello" }, /* Unterminated string */ { 0, "a=\"World" }, /* Unterminated string */ + { 0, "a=_abd_" }, /* Unquoted string not starting with alphabetic */ { 1, "a=2, n=012345678" }, /* Bad octal digit */ { 0, "n=0x28FG, a=3" }, /* Bad hex digit */ { 0, "n=145d, a=2" }, /* Bad decimal digit */