Re: [PATCH bpf] libbpf: fix BTF header parsing checks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 21, 2021 at 3:16 PM Alexei Starovoitov
<alexei.starovoitov@xxxxxxxxx> wrote:
>
> On Wed, Oct 20, 2021 at 10:46 PM Andrii Nakryiko <andrii@xxxxxxxxxx> wrote:
> >
> > Original code assumed fixed and correct BTF header length. That's not
> > always the case, though, so fix this bug with a proper additional check.
> > And use actual header length instead of sizeof(struct btf_header) in
> > sanity checks.
> >
> > Reported-by: Evgeny Vereshchagin <evvers@xxxxx>
> > Fixes: a138aed4a80 ("bpf: btf: Add BTF support to libbpf")
>
> there is no such commit sha.

Oops, seems like I lost the first digit, it should be:

8a138aed4a80 ("bpf: btf: Add BTF support to libbpf")



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux