[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150527.002421.933751602719615067.davem@davemloft.net>
Date: Wed, 27 May 2015 00:24:21 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: daniel@...earbox.net
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] tools: bpf_jit_disasm: fix segfault on disabled
debugging log output
From: Daniel Borkmann <daniel@...earbox.net>
Date: Mon, 25 May 2015 14:08:03 +0200
> 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@...earbox.net>
Applied, thanks Daniel.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists