Thread (4 messages) 4 messages, 2 authors, 2013-12-19

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

From: David Miller <davem@davemloft.net>
Date: 2013-12-17 01:11:34
Also in: linux-hams, lkml, stable

From: Salva Peiró <redacted>
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ó <redacted>
Put this into the SIOCYAMGCFG case statement, which is where the
problem actually exists.
--
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help