Project

General

Profile

Actions

Bug #5164

closed

ndnsec import: segmentation fault with invalid SafeBag

Added by Davide Pesavento over 3 years ago. Updated about 3 years ago.

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

100%

Estimated time:

Description

Importing an invalid SafeBag crashes ndnsec. The result of ndn::io::load() is not checked against nullptr.

$ ndnsec import -P foo <<< bar
Segmentation fault (core dumped)
Actions

Also available in: Atom PDF