diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2023-11-24 14:32:31 -0500 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-24 14:32:31 -0500 | 
| commit | 4f0d775b71d90f188c2b55164ba3b66ed26a5a72 (patch) | |
| tree | c647cb776b1f3a56d8f7da33d254cb4a718e2437 | |
| parent | 852b11ed52986786d8ce56c55a3ebc5e665b30ef (diff) | |
| parent | 43c144f9ba2e6e5b69fe55147aae9739c685dabb (diff) | |
Merge pull request #14871 from FRRouting/mergify/bp/stable/9.1/pr-14862docker/9.1
zebra: fix dplane_ctx_iptable use-after-free (backport #14862)
| -rw-r--r-- | zebra/zebra_dplane.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c index 099a6e2725..0b406311c9 100644 --- a/zebra/zebra_dplane.c +++ b/zebra/zebra_dplane.c @@ -4047,6 +4047,7 @@ static int dplane_ctx_iptable_init(struct zebra_dplane_ctx *ctx,  	ctx->zd_vrf_id = iptable->vrf_id;  	memcpy(&ctx->u.iptable, iptable, sizeof(struct zebra_pbr_iptable)); +	ctx->u.iptable.interface_name_list = NULL;  	if (iptable->nb_interface > 0) {  		ctx->u.iptable.interface_name_list = list_new();  		ctx->u.iptable.interface_name_list->del =  | 
