2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Check LOC's altitude field is properly parsed and encoded.

This commit is contained in:
Mark Andrews
2020-08-23 01:35:19 +10:00
committed by Ondřej Surý
parent 9225c67835
commit 888dfd78c7

View File

@@ -2014,6 +2014,11 @@ loc(void **state) {
TEXT_INVALID("90 0 1 S 180 W 0"),
TEXT_INVALID("90 S 180 1 W 0"),
TEXT_INVALID("90 S 180 0 1 W 0"),
TEXT_VALID("0 0 0.000 N 0 0 0.000 E -0.95m 1m 10000m 10m"),
TEXT_VALID("0 0 0.000 N 0 0 0.000 E -0.05m 1m 10000m 10m"),
TEXT_VALID("0 0 0.000 N 0 0 0.000 E -100000.00m 1m 10000m 10m"),
TEXT_VALID("0 0 0.000 N 0 0 0.000 E 42849672.95m 1m 10000m "
"10m"),
/*
* Sentinel.
*/