From: Dan Carpenter Date: Fri, 17 Apr 2015 13:19:46 +0000 (+0300) Subject: ALSA: hda - potential (but unlikely) uninitialized variable X-Git-Tag: omap-for-v4.2/o2_dc~19^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4d770317997f89bb6997ee3e8dd495cb8356ae9;p=pandora-kernel.git ALSA: hda - potential (but unlikely) uninitialized variable This function is a bit unusual because it accepts negative values as "conn_len". It's theoretically possible for both "cache_len" and "conn_len" to be -ENOSPC and in that case we would oops trying to run memcmp() on the uninitialized "list" pointer. Signed-off-by: Dan Carpenter Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed