From: Stanislaw Gruszka Date: Tue, 16 Apr 2013 13:38:29 +0000 (+0200) Subject: iwlwifi: fix freeing uninitialized pointer X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~77^2~18^2^2~8^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3309ccf7fcebceef540ebe90c65d2f94d745a45b;p=pandora-kernel.git iwlwifi: fix freeing uninitialized pointer If on iwl_dump_nic_event_log() error occurs before that function initialize buf, we process uninitiated pointer in iwl_dbgfs_log_event_read() and can hit "BUG at mm/slub.c:3409" Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=951241 Cc: stable@vger.kernel.org Reported-by: ian.odette@eprize.com Signed-off-by: Stanislaw Gruszka Reviewed-by: Emmanuel Grumbach Signed-off-by: Johannes Berg --- Reading git-diff-tree failed