wan/fsl_ucc_hdlc: info leak in uhdlc_ioctl()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 Jul 2016 11:16:53 +0000 (14:16 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jul 2016 18:42:42 +0000 (11:42 -0700)
commit2f43b9beeac8e063353452b4bcf8712f6c2de27b
tree030f28bc0e9df28c274bb788461811a66b43eb3a
parent7a7d1d57330c06f7d4f0b10d22fe124b4422ff1a
wan/fsl_ucc_hdlc: info leak in uhdlc_ioctl()

There is a 2 byte struct whole after line.loopback so we need to clear
that out to avoid disclosing stack information.

Fixes: c19b6d246a35 ('drivers/net: support hdlc function for QE-UCC')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/fsl_ucc_hdlc.c