]> git.puffer.fish Git - mirror/frr.git/commit
lib: fix crash in the CLI grammar sandbox 4324/head
authorRenato Westphal <renato@opensourcerouting.org>
Mon, 13 May 2019 18:18:57 +0000 (15:18 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 13 May 2019 18:18:57 +0000 (15:18 -0300)
commit8d0d863754578a5b5879d6267f07ddcec090ba00
treec01010fd9df097e60a32095106e5622271342ea3
parent4ac9d2cbe4ead57bf0a49c55fc9c2a10e20d9755
lib: fix crash in the CLI grammar sandbox

The CLI grammer sandbox needs to initialize the northbound subsystem
otherwise the running_config global variable won't be set, which
leads to crashes.

Fixes #4319.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
lib/grammar_sandbox_main.c