Project

General

Profile

Actions

Bug #3249

closed

GenericLinkService performs insufficient validation before calling lp::Packet::get<lp::FragmentField>()

Added by Davide Pesavento over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Faces
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
2.00 h

Description

ndn::lp::Packet throws exceptions of type std::out_of_range and std::length_error to indicate logic errors.

However, NFD's GenericLinkService::doReceivePacket() performs insufficient validation before calling get<lp::FragmentField>(), which may cause NFD to crash when receiving malformed packets.


Related issues 1 (0 open1 closed)

Blocks NFD - Feature #3170: EthernetTransportClosedDavide Pesavento

Actions
Actions

Also available in: Atom PDF