diff options
author | Pauli <pauli@openssl.org> | 2023-01-16 10:04:11 +1100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-01-20 10:17:08 +1100 |
commit | 3107aafad2ee802b979873bdbb86bd5245f1266c (patch) | |
tree | a3da9241c2c0a54237aba2a29cc7852fa5c2ca79 | |
parent | f60b1239cfd4679be88d47a0e7cff248e0a57c55 (diff) |
Add negative test for unquoted property string
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/20023)
(cherry picked from commit 543ac2f0191f10d8a3774727fa691543de8b15bb)
-rw-r--r-- | test/property_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/property_test.c b/test/property_test.c index 20ebb053d3..5e04f49139 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 */ |