From: Salva Peiró Date: Wed, 16 Oct 2013 10:46:50 +0000 (+0200) Subject: wanxl: fix info leak in ioctl X-Git-Tag: v3.2.53~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6c24ff286f37711185fe1b6ce1cea58d7fc8c50;p=pandora-kernel.git wanxl: fix info leak in ioctl [ Upstream commit 2b13d06c9584b4eb773f1e80bbaedab9a1c344e1 ] The wanxl_ioctl() code fails to initialize the two padding bytes of struct sync_serial_settings after the ->loopback member. Add an explicit memset(0) before filling the structure to avoid the info leak. Signed-off-by: Salva Peiró Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed