[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c9ea156a-20fa-5415-0d35-0521e8740ddc@fb.com>
Date: Mon, 27 Jul 2020 14:39:14 -0700
From: Yonghong Song <yhs@...com>
To: Colin King <colin.king@...onical.com>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Martin KaFai Lau <kafai@...com>,
Song Liu <songliubraving@...com>,
Andrii Nakryiko <andriin@...com>,
John Fastabend <john.fastabend@...il.com>,
KP Singh <kpsingh@...omium.org>, <netdev@...r.kernel.org>,
<bpf@...r.kernel.org>
CC: <kernel-janitors@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH][next] bpf: fix swapped arguments in calls to
check_buffer_access
On 7/27/20 10:54 AM, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> There are a couple of arguments of the boolean flag zero_size_allowed
> and the char pointer buf_info when calling to function check_buffer_access
> that are swapped by mistake. Fix these by swapping them to correct
> the argument ordering.
>
> Addresses-Coverity: ("Array compared to 0")
> Fixes: afbf21dce668 ("bpf: Support readonly/readwrite buffers in verifier")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Thanks for the fix!
Acked-by: Yonghong Song <yhs@...com>
Powered by blists - more mailing lists