kernel_optimize_test/tools/net
Daniel Borkmann 082739aa45 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>
2015-05-27 00:24:10 -04:00
..
bpf_asm.c filter: bpf_asm: add minimal bpf asm tool 2013-12-11 20:28:35 -05:00
bpf_dbg.c bpf_dbg: fix wrong register usage 2014-04-30 16:12:22 -04:00
bpf_exp.l tools: bpf_asm: cleanup vlan extension related token 2015-03-24 21:21:41 -04:00
bpf_exp.y tools: bpf_asm: cleanup vlan extension related token 2015-03-24 21:21:41 -04:00
bpf_jit_disasm.c tools: bpf_jit_disasm: fix segfault on disabled debugging log output 2015-05-27 00:24:10 -04:00
Makefile tools/net/Makefile: Define PACKAGE to fix build problems 2014-03-12 00:07:55 -04:00