[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQ+Sr-ecQn7LCq=NOPwfeVT7QD9yy8DmPCPgxTMYKY=JAQ@mail.gmail.com>
Date: Thu, 9 May 2019 16:01:29 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Martin Lau <kafai@...com>
Cc: "bpf@...r.kernel.org" <bpf@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"ast@...nel.org" <ast@...nel.org>,
"daniel@...earbox.net" <daniel@...earbox.net>
Subject: Re: [PATCH bpf v2] selftests: bpf: initialize bpf_object pointers
where needed
On Thu, May 9, 2019 at 8:56 AM Martin Lau <kafai@...com> wrote:
>
> On Wed, May 08, 2019 at 05:49:32PM +0100, Lorenz Bauer wrote:
> > There are a few tests which call bpf_object__close on uninitialized
> > bpf_object*, which may segfault. Explicitly zero-initialise these pointers
> > to avoid this.
> Acked-by: Martin KaFai Lau <kafai@...com>
Applied. Thanks
Powered by blists - more mailing lists