diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-11-17 16:42:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-17 16:42:01 +0200 |
| commit | 43b7aec4ef7dc476e027339a98f6844cdb0746b4 (patch) | |
| tree | b8c5c59426aa28c8a39381ef64f716532ccb44f3 | |
| parent | 935c3f3930cdda66e72cb5518d0cce43d653082f (diff) | |
| parent | 7a07501ff1127f1726c9aadb17d8f3cd506521f8 (diff) | |
Merge pull request #12331 from FRRouting/mergify/bp/stable/8.4/pr-12302
isisd: fix area NULL pointer in isis_route_update (backport #12302)
| -rw-r--r-- | isisd/isis_route.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/isisd/isis_route.c b/isisd/isis_route.c index 9f8f639e5d..34d7e7eeac 100644 --- a/isisd/isis_route.c +++ b/isisd/isis_route.c @@ -463,6 +463,9 @@ static void isis_route_update(struct isis_area *area, struct prefix *prefix, struct prefix_ipv6 *src_p, struct isis_route_info *route_info) { + if (area == NULL) + return; + if (CHECK_FLAG(route_info->flag, ISIS_ROUTE_FLAG_ACTIVE)) { if (CHECK_FLAG(route_info->flag, ISIS_ROUTE_FLAG_ZEBRA_SYNCED)) return; |
