Thread (3 messages) flat view 3 messages, 3 authors, 2021-01-12

Re: [PATCH bpf v2] bpf: don't leak memory in bpf getsockopt when optlen == 0

From: Martin KaFai Lau <hidden>
Date: 2021-01-12 18:05:24
Also in: bpf

On Tue, Jan 12, 2021 at 08:28:29AM -0800, Stanislav Fomichev wrote:
optlen == 0 indicates that the kernel should ignore BPF buffer
and use the original one from the user. We, however, forget
to free the temporary buffer that we've allocated for BPF.
Acked-by: Martin KaFai Lau <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help