From: Salva Peiró Date: Tue, 11 Mar 2014 18:31:23 +0000 (+0100) Subject: synclink: fix info leak in ioctl X-Git-Tag: v3.15-rc1~138^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b19a47e0603ef89c4179e6e48f6dd1ccc7fa3a7c;p=pandora-kernel.git synclink: fix info leak in ioctl The hdlcdev_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: Greg Kroah-Hartman --- Reading git-diff-tree failed