Actions
Bug #7473
openDecodeIPV4Options:Check that the IPv4 option length should be an integer multiple of 4 bytes
Affected Versions:
Effort:
Difficulty:
Label:
Description
decode-ipv4.c:In function DecodeIPV4Options [line 313] Options length must be padded to 8byte boundary
According to RFC 791, the total length of the IPv4 header must be an integer multiple of 4 bytes, including the IP option field. The length of the option field can be arbitrary, but it must be aligned to a 32-bit word (4 bytes). In other words, if the length of the IP option is not a multiple of 4 bytes, you should make sure that the length of the IP header is a multiple of 4 bytes by padding.
No data to display
Actions