diff options
author | Ilya Maximets <i.maximets@ovn.org> | 2021-04-04 19:50:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-05 21:54:42 +0200 |
commit | 4d51419d49930be2701c2633ae271b350397c3ca (patch) | |
tree | 01b8e5a39e983f67f5fbc68dadcd8b1c2fc5e49b /drivers/nfc/trf7970a.c | |
parent | net: macb: restore cmp registers on resume path (diff) | |
download | linux-4d51419d49930be2701c2633ae271b350397c3ca.tar.xz linux-4d51419d49930be2701c2633ae271b350397c3ca.zip |
openvswitch: fix send of uninitialized stack memory in ct limit reply
'struct ovs_zone_limit' has more members than initialized in
ovs_ct_limit_get_default_limit(). The rest of the memory is a random
kernel stack content that ends up being sent to userspace.
Fix that by using designated initializer that will clear all
non-specified fields.
Fixes: 11efd5cb04a1 ("openvswitch: Support conntrack zone limit")
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Acked-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/nfc/trf7970a.c')
0 files changed, 0 insertions, 0 deletions