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 #1

Updated by Alex Afanasyev over 9 years ago

  • Tracker changed from Task to Bug
Actions #2

Updated by Alex Afanasyev over 9 years ago

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

Updated by Alex Afanasyev over 9 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF