]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP-pwd peer: Fix reassembly buffer handling
authorJouni Malinen <jouni@codeaurora.org>
Tue, 16 Apr 2019 23:21:20 +0000 (02:21 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 17 Apr 2019 10:24:37 +0000 (13:24 +0300)
commitd2d1a324ce937628e4d9d9999fe113819b7d4478
tree47102e59a183bec622e11dac43256312c1fdacb0
parenta143bdc0d1089bbbcbf730608848070c09a2ea25
EAP-pwd peer: Fix reassembly buffer handling

Unexpected fragment might result in data->inbuf not being allocated
before processing and that could have resulted in NULL pointer
dereference. Fix that by explicitly checking for data->inbuf to be
available before using it.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/eap_peer/eap_pwd.c