summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorMicael Karlberg <bmk@erlang.org>2020-04-28 17:31:26 +0200
committerMicael Karlberg <bmk@erlang.org>2020-05-20 17:42:31 +0200
commit0c1d76bf92f902073b8efa503c8115cd247af245 (patch)
tree7cb11bdecf8bb175b0c0110e7f911d7f021b26d0 /Makefile.in
parent7a8d04dbcb388a5d837a213ad249c1b96e19e998 (diff)
downloaderlang-0c1d76bf92f902073b8efa503c8115cd247af245.tar.gz
[megaco] Mini text parser IPv6 address failure
The mini decoder could handle all kinds of IPv6 addresses. The reason for this was that the som of the chars (a and e) in the short form was interpreted as 'AddToken' and 'EventsToke' respectively, which the mini parser could not handle. ABNF for the mId (only the IPv6 version): mId = (( domainAddress / domainName ) [":" portNumber]) / mtpAddress / deviceName domainAddress = "[" (IPv4address / IPv6address) "]" IPv6address = hexpart [ ":" IPv4address ] hexpart = hexseq "::" [ hexseq ] / "::" [ hexseq ] / hexseq hexseq = hex4 *( ":" hex4) hex4 = 1*4HEXDIG HEXDIG = ( DIGIT / "A" / "B" / "C" / "D" / "E" / "F" ) DIGIT = %x30-39 ; 0-9 Example: [2409:8050:5005:1243:1011::a] The final 'a' (or 'e') caused it to fail. OTP-16631
Diffstat (limited to 'Makefile.in')
0 files changed, 0 insertions, 0 deletions