On 10/28/19 4:37 PM, Andrii Nakryiko wrote: > libbpf's bpf_object__elf_collect() does simple sanity check after iterating > over all ELF sections, if checks that .strtab index is correct. Unfortunately, > due to section indices being 1-based, the check breaks for cases when .strtab > ends up being the very last section in ELF. > > Fixes: 77ba9a5b48a7 ("tools lib bpf: Fetch map names from correct strtab") > Signed-off-by: Andrii Nakryiko <andriin@xxxxxx> 4 year old bug. Nice! Applied. Thanks.