projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'drm-nouveau-fixes' of git://anongit.freedesktop.org/nouveau/linux-2...
[profile/ivi/kernel-adaptation-intel-automotive.git]
/
net
/
socket.c
diff --git
a/net/socket.c
b/net/socket.c
index
dfe5b66
..
a5471f8
100644
(file)
--- a/
net/socket.c
+++ b/
net/socket.c
@@
-2657,6
+2657,7
@@
static int dev_ifconf(struct net *net, struct compat_ifconf __user *uifc32)
if (copy_from_user(&ifc32, uifc32, sizeof(struct compat_ifconf)))
return -EFAULT;
+ memset(&ifc, 0, sizeof(ifc));
if (ifc32.ifcbuf == 0) {
ifc32.ifc_len = 0;
ifc.ifc_len = 0;