diff options
| author | Emanuele Di Pascale <emanuele@voltanet.io> | 2020-06-10 14:29:02 +0200 |
|---|---|---|
| committer | Emanuele Di Pascale <emanuele@voltanet.io> | 2020-06-10 16:34:33 +0200 |
| commit | e8cff6d14c1c3d3a33aba6d2a9264b0cfa49a4d7 (patch) | |
| tree | 417dda7c1ddfd79828d3c751cfad15e9031286d1 /lib/command.c | |
| parent | f6d9207dc973befe25faecff40243c7c34a8174a (diff) | |
isisd: prevent segfault in isis_circuit_af_set
before the last commit, it was possible under some
circumstances to call isis_circuit_af_set on a circuit
with a NULL area, e.g. if the circuit was deconfigured
due to a validation error. While this should not happen
now, let's add an explicit check to avoid crashing if
a regression is introduced.
Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions
