diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-04-19 15:15:56 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-06-05 12:23:18 -0300 |
| commit | b3121cd7d14f28cad53d39d9fbf09b036d3e95c9 (patch) | |
| tree | 7c50b98430e82582c6d1c3e5be784f7d635cdc00 /lib/command_py.c | |
| parent | e75f810c2f6d3322e981c3e50f7d87f181005461 (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
