]> git.ipfire.org Git - thirdparty/hostap.git/commit
Add NULL check for pmksa cache free_cb() callback
authorVinay Gannevaram <quic_vganneva@quicinc.com>
Wed, 11 Oct 2023 11:02:23 +0000 (16:32 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 26 Oct 2023 12:46:17 +0000 (15:46 +0300)
commitc86064716015af06e02dbe5d1d3cfcf88b7fa45b
treea55dc2f20ca62e43f043ec777dc7417e6a00cfd4
parent97b6cc6e580df5df65179b10e6c82c1e4c58e756
Add NULL check for pmksa cache free_cb() callback

free_cb can be NULL during the pmksa_cache_auth_init() from the modules
using libpasn.so. So check it explicitly before dereferencing.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/ap/pmksa_cache_auth.c