diff options
| author | Daniel Borkmann <[email protected]> | 2015-05-25 12:08:03 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-05-27 04:24:10 +0000 |
| commit | 082739aa458a74add9a2362988e5aca0367bfa53 (patch) | |
| tree | 7c24faf20b3215347b95b569437261c51b36ae46 /net/unix/af_unix.c | |
| parent | unix/caif: sk_socket can disappear when state is unlocked (diff) | |
| download | kernel-082739aa458a74add9a2362988e5aca0367bfa53.tar.gz kernel-082739aa458a74add9a2362988e5aca0367bfa53.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
