mirror of https://github.com/torvalds/linux.git
list.dev has not been initialized and so the copy_to_user is copying
data from the stack back to user space which is a potential
information leak. Fix this ensuring all of list is initialized to
zero.
Detected by CoverityScan, CID#1357894 ("Uninitialized scalar variable")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
||
|---|---|---|
| .. | ||
| ircomm | ||
| irlan | ||
| irnet | ||
| Kconfig | ||
| Makefile | ||
| af_irda.c | ||
| discovery.c | ||
| irda_device.c | ||
| iriap.c | ||
| iriap_event.c | ||
| irias_object.c | ||
| irlap.c | ||
| irlap_event.c | ||
| irlap_frame.c | ||
| irlmp.c | ||
| irlmp_event.c | ||
| irlmp_frame.c | ||
| irmod.c | ||
| irnetlink.c | ||
| irproc.c | ||
| irqueue.c | ||
| irsysctl.c | ||
| irttp.c | ||
| parameters.c | ||
| qos.c | ||
| timer.c | ||
| wrapper.c | ||