Project

General

Profile

Actions

Bug #4961

closed

ndncert-client crashes if client.conf cannot be opened

Added by Davide Pesavento almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

If client.conf doesn't exist in the right location or cannot be opened for whatever reason (e.g., wrong permissions), ndncert-client will crash with an uncaught exception.

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::property_tree::json_parser::json_parser_error> >'
  what():  /usr/local/etc/ndncert/client.conf: cannot open file
Aborted (core dumped)
Actions

Also available in: Atom PDF