]> git.ipfire.org Git - thirdparty/hostap.git/commit
wpa_supplicant: Add missing memory allocation checks
authorMicha Hashkes <micha.hashkes@intel.com>
Wed, 30 Nov 2022 15:05:43 +0000 (17:05 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 30 Nov 2022 17:14:02 +0000 (19:14 +0200)
commit755aaeb97fe35e4306b5ad1b756569fb37847749
treeb34dcad232d05ded607c7cc8fafa64fd704d69fd
parent69725c4cf787cf2fce2199ab862ea6cc21d4dbb7
wpa_supplicant: Add missing memory allocation checks

There are several cases where memory allocations are not
checked for success. Add conditions and error messages, as some
analyzers complain about that.

Signed-off-by: Micha Hashkes <micha.hashkes@intel.com>
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
wpa_supplicant/sme.c
wpa_supplicant/wpa_supplicant.c