Project

General

Profile

Actions

Bug #7473

open

DecodeIPV4Options:Check that the IPv4 option length should be an integer multiple of 4 bytes

Added by llcka llcka 20 days ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
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

Also available in: Atom PDF