Fix null pointer access in proxy_set
authorAndrew Rodland <andrew@cleverdomain.org>
Tue, 10 Oct 2023 17:30:28 +0000 (13:30 -0400)
committerGitHub <noreply@github.com>
Tue, 10 Oct 2023 17:30:28 +0000 (13:30 -0400)
commit2f09056800000c8e5d3c72869555f4b1a7cea10a
tree471abbb6a04ded14d5fb59b4cb07aaae0f9cf408
parentbfba2aa75802ff1a70ef2fd3eba53409a8c6e93a
Fix null pointer access in proxy_set

We were checking `proxy->ifindex`, but `proxy` is initialized to NULL. Should be checking `p->ifindex` instead.

Signed-off-by: Andrew Rodland <andrew@cleverdomain.org>
src/proxy.c