Project

General

Profile

Actions

Bug #5164

closed

ndnsec import: segmentation fault with invalid SafeBag

Added by Davide Pesavento almost 3 years ago. Updated over 2 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