Project

General

Profile

Actions

Bug #7473

open
OD

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

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

Added by Anonymous over 1 year ago. Updated 3 months 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.

VJ Updated by Victor Julien 6 months ago Actions #1

  • Status changed from New to Assigned

VJ Updated by Victor Julien 3 months ago Actions #2

  • Status changed from Assigned to New
  • Assignee changed from Victor Julien to OISF Dev
Actions

Also available in: PDF Atom