Casey Stella created METRON-639:
-----------------------------------
Summary: The Network Stellar functions need to have better unit
testing
Key: METRON-639
URL: https://issues.apache.org/jira/browse/METRON-639
Project: Metron
Issue Type: Bug
Reporter: Casey Stella
We have very little unit test coverage around the Networking functions in
Stellar at the edge level. When diving a bit deeper on real data, I found a
number of bugs around:
* Domains with TLDs that are not part of the proper set of TLDs
* URIs with schemes that Java doesn't know about.
* IN_SUBNET takes multiple CIDRs, but only evaluates the first one.
Generally calling validate on these methods can be unsafe because they do not
handle null arguments correctly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)