From: Arend van Spriel Date: Tue, 6 Nov 2012 00:22:21 +0000 (-0800) Subject: brcmfmac: fix NULL pointer access in brcmf_create_iovar() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~174^2^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb451c8304604b4accdc5a86b7f731878175a83c;p=pandora-kernel.git brcmfmac: fix NULL pointer access in brcmf_create_iovar() The function brcmf_fil_bsscfg_data_get() calls brcmf_create_iovar() with data pointer set to NULL, which caused a NULL pointer access. As it should be possible to provide data in message towards the firmware, it should just pass the data buffer instead. Reviewed-by: Hante Meuleman Signed-off-by: Arend van Spriel Signed-off-by: Franky Lin Signed-off-by: John W. Linville --- Reading git-diff-tree failed