Project

General

Profile

Defect #17

add sanity checks to IPPacketDecoder

Added by Tony Ciavarella over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
04/13/2017
Due date:
% Done:

100%

Estimated time:

Description

Add sanity checks in IPPacketDecoder to prevent buffer overrun and subsequent undefined behavior if a malformed and/or malicious PDU is received.

Associated revisions

Revision 1132:745e4f7efd4d (diff)
Added by Tony Ciavarella over 2 years ago

introduce bounds checked ip packet decoder (refs #17)

Revision 1133:36b223e1d20f (diff)
Added by Tony Ciavarella over 2 years ago

added an exercise configuration item for whether or not PDU receive buffer bounds checking is enabled

Revision 1134:a0df0289659f (diff)
Added by Tony Ciavarella over 2 years ago

respect the bounds checking exercise configuration setting in the pdu network transport, handle inflate exceptions, and discard PDUs that are bigger than the maximum size

History

#1 Updated by Tony Ciavarella over 2 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF