From: Salva Peiró Date: Tue, 17 Dec 2013 09:06:30 +0000 (+0100) Subject: hamradio/yam: fix info leak in ioctl X-Git-Tag: v3.2.55~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=794ce89c4585d8679fae8c06ddabf8d3a4c4fa53;p=pandora-kernel.git hamradio/yam: fix info leak in ioctl [ Upstream commit 8e3fbf870481eb53b2d3a322d1fc395ad8b367ed ] The yam_ioctl() code fails to initialise the cmd field of the struct yamdrv_ioctl_cfg. Add an explicit memset(0) before filling the structure to avoid the 4-byte info leak. Signed-off-by: Salva Peiró Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed