Bug 196533
Summary: | kernel stack infoleaks | ||
---|---|---|---|
Product: | Networking | Reporter: | zhh (sohu0106) |
Component: | Other | Assignee: | Stephen Hemminger (stephen) |
Status: | NEW --- | ||
Severity: | low | CC: | sohu0106 |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.12.2 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
zhh
2017-07-30 05:13:08 UTC
patch 2 net/irda/af_irda.c @@ -2248,6 +2248,8 @@ static int irda_getsockopt(struct socket *sock, int level, int optname, err = -EINVAL; goto out; } + + memset( &list, 0, sizeof(struct irda_device_list) ); /* Ask lmp for the current discovery log */ discoveries = irlmp_get_discoveries(&list.len, self->mask.word, |