Skip to contentSkip to conversation

BPF: array ins_chk is missing an entry

dpdk-dev [email protected] 1 participant 1 message May 21, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=283

            Bug ID: 283
           Summary: BPF: array ins_chk is missing an entry
           Product: DPDK
           Version: 19.08
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: Normal
         Component: other
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

Array ins_chk in lib/librte_bpf/bpf_validate.c has UINT8_MAX (= 255) entries; it should be 256. So the instruction 255 is reading after the array.

I have not found this bug in my tests. I came across it while reading the code to understand how to use libbpf in my code.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.