From: Jeremy Harris Date: Tue, 28 Sep 2021 22:27:59 +0000 (+0100) Subject: Merge branch '4.next' X-Git-Tag: exim-4.96-RC0~162 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/c9433c53ad292c2f7ec05aa9d083767f95d07858 Merge branch '4.next' --- c9433c53ad292c2f7ec05aa9d083767f95d07858 diff --cc src/src/receive.c index 5471aa7cb,47c5977ee..3a9a91a81 --- a/src/src/receive.c +++ b/src/src/receive.c @@@ -1663,9 -1663,10 +1663,9 @@@ int process_info_len = Ustrlen(process int error_rc = error_handling == ERRORS_SENDER ? errors_sender_rc : EXIT_FAILURE; int header_size = 256; - int id_resolution = 0; -int start, end, domain; int had_zero = 0; int prevlines_length = 0; + const int id_resolution = BASE_62 == 62 ? 5000 : 10000; int ptr = 0; diff --cc test/scripts/0000-Basic/0002 index e74ca6e39,db3eae6be..463ad96e9 --- a/test/scripts/0000-Basic/0002 +++ b/test/scripts/0000-Basic/0002 @@@ -249,8 -249,7 +249,9 @@@ mask: ${mask:192.168.10.206/0 mask: ${mask:192.168.10.206} mask: ${mask:a.b.c.d} mask: ${mask:2a00:2:3:4:5:6:7:8/79} +mask: ${mask:2a00:2:3:4:5:6:7:8/128} +mask: ${mask:2a00:2:3:4:5:6:7:8/129} + mask_n: ${mask_n:2a00:2:3:4:5:6:7:8/79} ipv6denorm: ${ipv6denorm:::1} ipv6denorm: ${ipv6denorm:fe00::1} ipv6denorm: ${ipv6denorm:192.168.0.1} diff --cc test/stdout/0002 index f6f722e47,5c8c2520c..f340b9426 --- a/test/stdout/0002 +++ b/test/stdout/0002 @@@ -231,8 -231,7 +231,9 @@@ newline tab\134backslash ~tilde\177DEL\ > Failed: missing mask value in "192.168.10.206" > Failed: "a.b.c.d" is not an IP address > mask: 2a00.0002.0003.0004.0004.0000.0000.0000/79 +> mask: 2a00.0002.0003.0004.0005.0006.0007.0008/128 +> Failed: mask value too big in "2a00:2:3:4:5:6:7:8/129" + > mask_n: 2a00:2:3:4:4::/79 > ipv6denorm: 0000:0000:0000:0000:0000:0000:0000:0001 > ipv6denorm: fe00:0000:0000:0000:0000:0000:0000:0001 > ipv6denorm: 0000:0000:0000:0000:0000:ffff:c0a8:0001