Squashed commit of the following:
commit
575eea2d85c85fa31aa73ff86d77c3ce85bd54ea
Author: Sreeja Athirkandathil Narayanan <sathirka@cisco.com>
Date: Thu Oct 31 17:53:36 2019 -0400
appid: Handle DNS responses with compression pointers at last record
len_valid = false;
lbl_ptr = (const DNSLabelPtr*)lbl;
offset += offsetof(DNSLabelPtr, data);
- if (offset >= size)
+ if (offset > size)
return APPID_NOMATCH;
tmp = (uint16_t)(ntohs(lbl_ptr->position) & 0x3FFF);
if (tmp > size - offsetof(DNSLabel, name))