Re: [PATCH] hamradio/yam: fix info leak in ioctl

2013-12-16 Thread David Miller
From: Salva Peiró Date: Fri, 13 Dec 2013 08:46:07 +0100 > 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ó Put this into the

Re: [PATCH] hamradio/yam: fix info leak in ioctl

2013-12-16 Thread David Miller
From: Salva Peiró spe...@ai2.upv.es Date: Fri, 13 Dec 2013 08:46:07 +0100 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ó spe...@ai2.upv.es

[PATCH] hamradio/yam: fix info leak in ioctl

2013-12-13 Thread Salva Peiró
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ó CC: --- drivers/net/hamradio/yam.c |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH] hamradio/yam: fix info leak in ioctl

2013-12-13 Thread Salva Peiró
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ó spe...@ai2.upv.es CC: sta...@vger.kernel.org --- drivers/net/hamradio/yam.c |1 + 1 file