commit | cae8e4e90ba67a5fe78936becd0833256352e3c2 | [log] [tgz] |
---|---|---|
author | Andreas Seltenreich <andreas.seltenreich@credativ.de> | Thu Mar 03 20:08:35 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Mar 08 16:33:09 2016 +0100 |
tree | 02facb5cda725acb08deee94c18ecd7addba461f | |
parent | a96d28b0616a8db0d1626ac3d235a1bb9f638750 [diff] |
CLEANUP: pattern: Ignore unknown samples in pat_match_ip(). Ignore samples that are neither SMP_T_IPV4 nor SMP_T_IPV6 instead of matching with an uninitialized value in this case. This situation should not occur in the current codebase but triggers warnings in static code analysis tools. Found in haproxy 1.5. (cherry picked from commit f0653192e31d3baa95ead5501b5cda467ab15b6d) (cherry picked from commit f999c4eeca43524fc25e509142961a1fb06eaecd)