]> git.ipfire.org Git - thirdparty/hostap.git/commit
RADIUS server: Do not close fd=0 in error cases
authorJouni Malinen <j@w1.fi>
Sat, 25 May 2019 16:10:08 +0000 (19:10 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 25 May 2019 16:10:08 +0000 (19:10 +0300)
commitbaf8ab8ceca0f71c694fecc4fe286a9f3b767329
tree7714943d9c4c6b09195cf75b5940d7986d210d93
parentf82a8408789ed1bc9b5ec0f28e74c74c141013a4
RADIUS server: Do not close fd=0 in error cases

Initialize auth_sock and acct_sock to -1 to avoid radius_server_deinit()
attempting to close fd=0 if anything fails in setting up the RADIUS
server.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/radius/radius_server.c