projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
farsync: fix info leak in ioctl
[profile/ivi/kernel-x86-ivi.git]
/
drivers
/
net
/
wan
/
farsync.c
diff --git
a/drivers/net/wan/farsync.c
b/drivers/net/wan/farsync.c
index
3f0c4f2
..
bcfff0d
100644
(file)
--- a/
drivers/net/wan/farsync.c
+++ b/
drivers/net/wan/farsync.c
@@
-1972,6
+1972,7
@@
fst_get_iface(struct fst_card_info *card, struct fst_port_info *port,
}
i = port->index;
+ memset(&sync, 0, sizeof(sync));
sync.clock_rate = FST_RDL(card, portConfig[i].lineSpeed);
/* Lucky card and linux use same encoding here */
sync.clock_type = FST_RDB(card, portConfig[i].internalClock) ==