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.13-rc7~13^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e3fbf870481eb53b2d3a322d1fc395ad8b367ed;p=pandora-kernel.git hamradio/yam: fix info leak in ioctl 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 --- Reading git-diff-tree failed