From: Liad Kaufman Date: Mon, 27 Jan 2014 14:34:23 +0000 (+0200) Subject: iwlwifi: fix potential buffer overrun in fw name X-Git-Tag: v3.15-rc1~113^2~289^2^2~102^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84b0312eee685bd0b2ca250dcea7049c8be4b655;p=pandora-kernel.git iwlwifi: fix potential buffer overrun in fw name Fix a potential buffer overrun when creating the fw name in drv->firmware_name by setting a maximal length to the char array copied to it. The maximal length is also updated to 32 rather than 25 to keep both 32bit and 64bit alignment without requiring padding to the struct it is in. Signed-off-by: Liad Kaufman Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed