mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Add additional length checking to IPv6::ToVal
This commit is contained in:
parent
ee8e2decec
commit
d5a1eb162e
2 changed files with 60 additions and 13 deletions
3
src/IP.h
3
src/IP.h
|
@ -151,6 +151,9 @@ public:
|
|||
protected:
|
||||
uint8_t type;
|
||||
const u_char* data;
|
||||
|
||||
private:
|
||||
bool IsOptionTruncated(uint16_t off) const;
|
||||
};
|
||||
|
||||
class IPv6_Hdr_Chain
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue