Project

General

Profile

Actions

Bug #2255

closed

ndns-update segfaults when running without parameters

Added by Alex Afanasyev over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
12/01/2014
Due date:
% Done:

100%

Estimated time:

Description

When running ndns-update without updates, I'm getting segfault:

ndns@spurs:~/repo2ndns$ ndns-update
cannot figure out the certificate automatically. please set it with -c CERT_NAEME
terminate called after throwing an instance of 'ndn::SecPublicInfoSqlite3::Error'
  what():  SecPublicInfoSqlite3::getCertificate  certificate does not exist
Aborted

The app should terminate with error, but should not segfault. main function need to properly handle exceptions.

Actions

Also available in: Atom PDF