wpa_supplicant: Fix wrong size memory allocation
authorEytan Lifshitz <eytan.lifshitz@intel.com>
Tue, 28 Jan 2014 07:32:34 +0000 (09:32 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 30 Jan 2014 11:59:29 +0000 (13:59 +0200)
commitfd67275b85fb9eeb3803991d62d74ddf3783d853
treebdf6cd448021aa2137e36da66dec641e3ce82b6d
parent4b0f2282cb398c05adeb95d30f93a30966bb82bd
wpa_supplicant: Fix wrong size memory allocation

Fix memory allocation in wpa_scan_clone_params(), where the
allocation request used the size of a pointer rather than the
size of the structure.

Signed-hostap: Eytan Lifshitz <eytan.lifshitz@intel.com>
wpa_supplicant/scan.c