]> The Tcpdump Group git mirrors - libpcap/commit
Handle all protocol qualifiers in gen_host6().
authorGuy Harris <[email protected]>
Fri, 19 Oct 2018 18:59:40 +0000 (11:59 -0700)
committerGuy Harris <[email protected]>
Fri, 19 Oct 2018 18:59:40 +0000 (11:59 -0700)
commitf2620d7749f5819d22b883390cc298fd91d53b0b
treec51aa01a0d506d6e560847d6b328b11b08613492
parentd491c4d68d38902ce71fcceed49aeac1f574f533
Handle all protocol qualifiers in gen_host6().

Report an error, rather than aborting, for all of them.

This prevents crashes from, for example, "l1 dst \::".

Sort the cases in order by Q_ value.

Say "ip6 host" in the errors.

Credit to OSS-Fuzz for finding the abort issue.
gencode.c