* [dpdk-dev] [Bug 283] BPF: array ins_chk is missing an entry
@ 2019-05-21 13:34 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2019-05-21 13:34 UTC (permalink / raw)
  To: dev
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: dev@dpdk.org
          Reporter: michel@digirati.com.br
  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.
-- 
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply	[flat|nested] only message in thread
only message in thread, other threads:[~2019-05-21 13:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-21 13:34 [dpdk-dev] [Bug 283] BPF: array ins_chk is missing an entry bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).