Add additional length checking to IPv6::ToVal

This commit is contained in:
Tim Wojtulewicz 2022-11-15 11:14:40 -07:00
parent ee8e2decec
commit d5a1eb162e
2 changed files with 60 additions and 13 deletions

View file

@ -151,6 +151,9 @@ public:
protected:
uint8_t type;
const u_char* data;
private:
bool IsOptionTruncated(uint16_t off) const;
};
class IPv6_Hdr_Chain