summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/qlogic
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2015-05-25 15:08:03 +0300
committerDavid S. Miller <davem@davemloft.net>2015-05-27 07:24:10 +0300
commit082739aa458a74add9a2362988e5aca0367bfa53 (patch)
tree7c24faf20b3215347b95b569437261c51b36ae46 /drivers/net/ethernet/qlogic
parentb48732e4a48d80ed4a14812f0bab09560846514e (diff)
downloadlinux-082739aa458a74add9a2362988e5aca0367bfa53.tar.xz
tools: bpf_jit_disasm: fix segfault on disabled debugging log output
With recent debugging, I noticed that bpf_jit_disasm segfaults when there's no debugging output from the JIT compiler to the kernel log. Reason is that when regexec(3) doesn't match on anything, start/end offsets are not being filled out and contain some uninitialized garbage from stack. Thus, we need zero out offsets first. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic')
0 files changed, 0 insertions, 0 deletions