summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2024-09-27 16:15:40 +0100
committerDaniil Baturin <daniil@baturin.org>2024-09-27 16:15:40 +0100
commit1296d16851d9d3747cc1bcd6f4c87dd9010559b2 (patch)
tree3fee81743df5337c96b58c1ac1bce52ba4c9ca4b /tests
parent725b24191bb0a8aaaf4d86249aa81c274e43e66d (diff)
downloadipaddrcheck-1296d16851d9d3747cc1bcd6f4c87dd9010559b2.tar.gz
ipaddrcheck-1296d16851d9d3747cc1bcd6f4c87dd9010559b2.zip
range: T6744: fix a crash when validating malformed ranges
Diffstat (limited to 'tests')
-rwxr-xr-xtests/integration_tests.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/integration_tests.sh b/tests/integration_tests.sh
index 3a1e4ea..2c2c72b 100755
--- a/tests/integration_tests.sh
+++ b/tests/integration_tests.sh
@@ -56,6 +56,7 @@ ipv4_range_negative=(
192.0.2.-192.0.2.100
192.0.2.0-
192.0.2.200-192.0.2.100
+ 192.0.2.1-192.0.2.500
)
ipv6_range_positive=(
@@ -66,6 +67,8 @@ ipv6_range_negative=(
2001:db8:xx-2001:db8::99
2001:db:-
2001:db8::99-2001:db8::1
+ 2001::db8::1:1-2001::db8::1::10
+ 2001:db8:pqrs::1-2001:db8:uvwx::100
)
ipv6_single_positive=(