mirror of
https://github.com/espressif/openthread.git
synced 2026-09-30 12:57:38 +00:00
[mpl] handle length computation overflow when inserting MPL header (#2092)
Credit to OSS-Fuzz.
This commit is contained in:
@@ -167,7 +167,7 @@ otError Ip6::InsertMplOption(Message &aMessage, Header &aIp6Header, MessageInfo
|
||||
if (aIp6Header.GetNextHeader() == kProtoHopOpts)
|
||||
{
|
||||
HopByHopHeader hbh;
|
||||
uint8_t hbhLength = 0;
|
||||
uint16_t hbhLength = 0;
|
||||
OptionMpl mplOption;
|
||||
|
||||
// read existing hop-by-hop option header
|
||||
|
||||
Reference in New Issue
Block a user