]> git.ozlabs.org Git - ppp.git/commit
plugins/radius: fix segfault during shutdown. (#455)
authorJaco Kroon <jaco@uls.co.za>
Thu, 26 Oct 2023 09:52:27 +0000 (11:52 +0200)
committerGitHub <noreply@github.com>
Thu, 26 Oct 2023 09:52:27 +0000 (20:52 +1100)
commita2ecd2a8241e1063073e79d949ef6d1e553513b1
treee5a3097f24950e15b154cbdaebdef9623b917166
parent1480d439ca62d17d7a8a4704194860148dc27689
plugins/radius: fix segfault during shutdown. (#455)

ppp_get_ifname() is the wrong thing to use in this slprintf call as
it returns an int which is the length of the interface name, not
a pointer to the interface name, which is what ppp_ifname()
returns.

Closes: #454
Signed-off-by: Jaco Kroon <jaco@uls.co.za>
pppd/plugins/radius/radattr.c