DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 857] gcc12 build error, lib/mbuf
@ 2021-10-28 12:41 bugzilla
  2022-06-15  8:23 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2021-10-28 12:41 UTC (permalink / raw)
  To: dev

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

            Bug ID: 857
           Summary: gcc12 build error, lib/mbuf
           Product: DPDK
           Version: 20.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: ferruh.yigit@intel.com
  Target Milestone: ---

With gcc 12.0.0 "gcc (GCC) 12.0.0 20211024 (experimental)"

../lib/mbuf/rte_mbuf_dyn.c: In function ‘rte_mbuf_dynflag_lookup’:
../lib/mbuf/rte_mbuf_dyn.c:397:17: warning: ‘memcpy’ reading 68 bytes from a
region of size 64 [-Wstringop-overread]
  397 |                 memcpy(params, &mbuf_dynflag->params, sizeof(*params));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/mbuf/rte_mbuf_dyn.c:18:
../lib/mbuf/rte_mbuf_dyn.h:98:14: note: source object ‘name’ of size 64
   98 |         char name[RTE_MBUF_DYN_NAMESIZE]; /**< Name of the dynamic
flag. */
      |              ^~~~

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-15  8:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-28 12:41 [dpdk-dev] [Bug 857] gcc12 build error, lib/mbuf bugzilla
2022-06-15  8:23 ` 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).