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")