]> git.ipfire.org Git - thirdparty/openvpn.git/commit
proxy.c: Clear sensitive data after use
authorSelva Nair <selva.nair@gmail.com>
Thu, 5 Sep 2024 10:07:24 +0000 (12:07 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 8 Sep 2024 12:32:29 +0000 (14:32 +0200)
commitdbe7e456954bf001420c4552c2b6e184ec6e068c
tree6e458ee801c3586989b3234cb34807a1b7de3317
parentc829f57096cb6951aa4698eff388aeebf9310334
proxy.c: Clear sensitive data after use

Usage of credentials  is a bit odd in this file.
Actually the copy of "struct user_pass" kept in p->up is not
required at all. It just defeats the purpose of auth-nocahe
as it never gets cleared.

Removing it is beyond the scope of this patch -- we just ensure
it's purged after use.

Change-Id: Ic6d63a319d272a56ac0e278f1356bc5241b56a34
Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20240905100724.4105-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg29061.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/proxy.c