projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
522b9d0
)
arinc653: don't leak hypervisor stack contents through XEN_SYSCTL_SCHEDOP_getinfo
author
Jan Beulich
<jbeulich@suse.com>
Tue, 9 Jun 2015 13:54:53 +0000
(15:54 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Tue, 9 Jun 2015 13:54:53 +0000
(15:54 +0200)
Note that due to XSA-77 this is not a security issue.
Reported-by: "栾尚聪(好风)" <shangcong.lsc@alibaba-inc.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by Robert VanVossen <robert.vanvossen@dornerworks.com>
xen/common/sched_arinc653.c
patch
|
blob
|
history
diff --git
a/xen/common/sched_arinc653.c
b/xen/common/sched_arinc653.c
index 819b8691937a7ea86b1664e07edccefb9fedad12..cff5da9d9912a8bd08c738b91329d4772984081b 100644
(file)
--- a/
xen/common/sched_arinc653.c
+++ b/
xen/common/sched_arinc653.c
@@
-705,6
+705,7
@@
a653sched_adjust_global(const struct scheduler *ops,
rc = arinc653_sched_set(ops, &local_sched);
break;
case XEN_SYSCTL_SCHEDOP_getinfo:
+ memset(&local_sched, -1, sizeof(local_sched));
rc = arinc653_sched_get(ops, &local_sched);
if ( rc )
break;