summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-04-19 15:15:56 -0300
committerRenato Westphal <renato@opensourcerouting.org>2017-06-05 12:23:18 -0300
commitb3121cd7d14f28cad53d39d9fbf09b036d3e95c9 (patch)
tree7c50b98430e82582c6d1c3e5be784f7d635cdc00 /lib/command_py.c
parente75f810c2f6d3322e981c3e50f7d87f181005461 (diff)
ldpd: fix segfault after failed initialization
When ldpd fails to start for some reason, like failing to create a pid file, the child processes call their shutdown functions without being completely initialized. This patch adds some protections to prevent a segmentation fault on such circumstances. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions