summaryrefslogtreecommitdiff
path: root/net/dns_resolver
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@plumgrid.com>2014-04-23 03:18:57 (GMT)
committerDavid S. Miller <davem@davemloft.net>2014-04-23 19:34:41 (GMT)
commit83d5b7ef99c9f05e87333b334a638de1264ab8e4 (patch)
treef95ec9cdb441ecfcd32cafe96c1d30a865c9ba35 /net/dns_resolver
parentc06cbcb6052edd8f4ee00d65f874b26404ac8f96 (diff)
downloadlinux-83d5b7ef99c9f05e87333b334a638de1264ab8e4.tar.xz
net: filter: initialize A and X registers
exisiting BPF verifier allows uninitialized access to registers, 'ret A' is considered to be a valid filter. So initialize A and X to zero to prevent leaking kernel memory In the future BPF verifier will be rejecting such filters Signed-off-by: Alexei Starovoitov <ast@plumgrid.com> Cc: Daniel Borkmann <dborkman@redhat.com> Acked-by: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dns_resolver')
0 files changed, 0 insertions, 0 deletions