diff options
author | Florian Westphal <fw@strlen.de> | 2023-06-19 22:43:05 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-06-20 21:47:51 +0200 |
commit | d40c7623837424d4eb8048508b924887b092e050 (patch) | |
tree | 3b06bbaaac10f46cbccb71d02a6fcaee2ab1b5d8 /tests | |
parent | fa52bc22580632b4b78c263e338ddfbe235a8218 (diff) |
parser: reject zero-length interface names in flowtables
Previous patch wasn't enough, also disable this for flowtable device lists.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/shell/testcases/bogons/nft-f/zero_length_devicename_flowtable_assert | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/shell/testcases/bogons/nft-f/zero_length_devicename_flowtable_assert b/tests/shell/testcases/bogons/nft-f/zero_length_devicename_flowtable_assert new file mode 100644 index 00000000..2c3e6c3f --- /dev/null +++ b/tests/shell/testcases/bogons/nft-f/zero_length_devicename_flowtable_assert @@ -0,0 +1,5 @@ +table t { + flowtable f { + devices = { """"lo } + } +} |