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

From: David Miller
Date: Thu Dec 19 2013 - 15:10:16 EST


From: Salva Peiró <speiro@xxxxxxxxxx>
Date: Tue, 17 Dec 2013 10:06:30 +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ó <speiro@xxxxxxxxxx>

Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/