All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 19] Crash on initialization if first RTE_MAX_LCORE cores are disabled
@ 2018-04-01 12:24 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2018-04-01 12:24 UTC (permalink / raw)
  To: dev

https://dpdk.org/tracker/show_bug.cgi?id=19

            Bug ID: 19
           Summary: Crash on initialization if first RTE_MAX_LCORE cores
                    are disabled
           Product: DPDK
           Version: unspecified
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: minor
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: solal.pirelli@gmail.com
  Target Milestone: ---

In eal_common_options.c, the master lcore is found by looking for the first
enabled lcore
(http://dpdk.org/browse/dpdk/tree/lib/librte_eal/common/eal_common_options.c?h=v18.02#n1213).

However, there is no check for the case where no enabled lcore is found. In the
(unlikely!) case of all first RTE_MAX_LCORE cores being disabled, the next
instruction will cause an out-of-bounds array access, probably crashing the
app.

-- 
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:[~2018-04-01 12:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-01 12:24 [Bug 19] Crash on initialization if first RTE_MAX_LCORE cores are disabled bugzilla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.