Prevent a use-after-free access in case of a http redirect by also clearing
authorclaudio <claudio@openbsd.org>
Thu, 8 Apr 2021 16:43:08 +0000 (16:43 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 8 Apr 2021 16:43:08 +0000 (16:43 +0000)
commite4b9714c69e5d4eea0226e61b8ff5f168ae2b205
tree31a713068709d1d5acec39a7f0411e1b8c22e074
parentc89f29692a2442b8ef9b654f4de37fd1c9d892d4
Prevent a use-after-free access in case of a http redirect by also clearing
the conn->res pointer after calling freeaddrinfo().
OK tb@ (as part of a bigger diff)
usr.sbin/rpki-client/http.c