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.