From: Arend van Spriel Date: Thu, 10 Feb 2011 11:03:45 +0000 (+0100) Subject: staging: brcm80211: fix potential null pointer access handling ucode buffer X-Git-Tag: v2.6.39-rc1~469^2~540 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8746e2baaedd45b51ceb0adbcaf2ce52bbb83598;p=pandora-kernel.git staging: brcm80211: fix potential null pointer access handling ucode buffer Allocation of buffer in function wl_ucode_init_buf can fail. This was signalled by an error message, but code continued to access the null pointer. This is now avoided by jumping to failure label. Reviewed-by: Roland Vossen Reviewed-by: Brett Rudley Reviewed-by: Henry Ptasinski Signed-off-by: Arend van Spriel Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed