Project

General

Profile

Actions

Bug #3502

closed

Potential integer overflow in RibManager::listEntries()

Added by Davide Pesavento about 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
RIB
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

A potential integer overflow exists in RibManager::listEntries and Route's stream output operator.
The following line triggers an UBSan error:

boost::lexical_cast<std::string>(rib::Route{});
Actions

Also available in: Atom PDF