Project

General

Profile

Actions

Bug #3858

closed

Network::isValidCidr throws with large integers

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

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

100%

Estimated time:

Description

boost::lexical_cast<int> throws if the number cannot be represented in the target type, for example with strings like "192.168.0.0/999999999999". However, there is no try/catch around its invocation.

Actions #1

Updated by Davide Pesavento about 8 years ago

  • Status changed from New to Code review
  • % Done changed from 0 to 100
Actions #2

Updated by Davide Pesavento about 8 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF