diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2020-12-15 17:43:38 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-12-15 17:45:22 -0800 |
commit | c55e5bda4d4590c84c6210b78c4b44c849f4400a (patch) | |
tree | b211f8b65b5358874d70f9e723dbca352548c20c /tools/go_stateify | |
parent | 97406b20a1551ddc8d1884d11d81b958b829afae (diff) |
Validate router alert's data length
RFC 2711 specifies that the router alert's length field is always 2
so we should make sure only 2 bytes are read from a router alert
option's data field.
Test: header.TestIPv6OptionsExtHdrIterErr
PiperOrigin-RevId: 347727876
Diffstat (limited to 'tools/go_stateify')
0 files changed, 0 insertions, 0 deletions