There are bounds for acceptable behavior for a function like this. Array index out of bounds is not acceptable. Aborting with a clean message about to true problem might be fine, as would be to return a null.
On Fri, Jul 13, 2018, 13:46 John Omernik <[email protected]> wrote: > So, as to the actual problem, I opened a JIRA here: > > https://issues.apache.org/jira/browse/DRILL-6607 > > The reason I brought this here is my own curiosity: Does an issue in using > this function most likely lie in the function code itself not handling good > data, or is the issue in the pcap pluglin which produces the data for this > function to consume, I am just curious on how something like this could be > avoided. > > John >
