[PATCH v6 bpf-next 01/10] lib/buildid: harden build ID parsing logic