From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C05A44407D; Tue, 21 May 2024 01:20:09 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 878A4402D2; Tue, 21 May 2024 01:20:09 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id B52814021E for ; Tue, 21 May 2024 01:20:08 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id A66364407E; Tue, 21 May 2024 01:20:08 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [DPDK/ethdev Bug 1446] Fortify warnings in rte_pcapng Date: Mon, 20 May 2024 23:20:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 24.03 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: stephen@networkplumber.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: multipart/alternative; boundary=17162472080.57D19E9.1471874 Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --17162472080.57D19E9.1471874 Date: Tue, 21 May 2024 01:20:08 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All https://bugs.dpdk.org/show_bug.cgi?id=3D1446 Bug ID: 1446 Summary: Fortify warnings in rte_pcapng Product: DPDK Version: 24.03 Hardware: All OS: All Status: UNCONFIRMED Severity: minor Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: stephen@networkplumber.org Target Milestone: --- On Ubuntu 22.04 build: In file included from /usr/include/string.h:548, from ../lib/pcapng/rte_pcapng.c:9: In function =E2=80=98memcpy=E2=80=99, inlined from =E2=80=98pcapng_add_option=E2=80=99 at ../lib/pcapng/rte_p= capng.c:131:2, inlined from =E2=80=98pcapng_section_block=E2=80=99 at ../lib/pcapng/rt= e_pcapng.c:192:8: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: argum= ent 2 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: note: in a cal= l to built-in function =E2=80=98__builtin___memcpy_chk=E2=80=99 In function =E2=80=98memcpy=E2=80=99, inlined from =E2=80=98pcapng_add_option=E2=80=99 at ../lib/pcapng/rte_p= capng.c:131:2, inlined from =E2=80=98rte_pcapng_add_interface=E2=80=99 at ../lib/pcapng/rte_pcapng.c:308:8: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: argum= ent 2 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: note: in a cal= l to built-in function =E2=80=98__builtin___memcpy_chk=E2=80=99 In function =E2=80=98memcpy=E2=80=99, inlined from =E2=80=98pcapng_add_option=E2=80=99 at ../lib/pcapng/rte_p= capng.c:131:2, inlined from =E2=80=98rte_pcapng_write_stats=E2=80=99 at ../lib/pcapng/= rte_pcapng.c:371:9: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: argum= ent 2 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: note: in a cal= l to built-in function =E2=80=98__builtin___memcpy_chk=E2=80=99 [1964/2680] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_user_vhost_user.c.o In file included from /usr/include/string.h:548, from /usr/include/x86_64-linux-gnu/sys/un.h:38, from ../drivers/net/virtio/virtio_user/vhost_user.c:10: In function =E2=80=98memcpy=E2=80=99, inlined from =E2=80=98vhost_user_write.constprop=E2=80=99 at ../drivers/net/virtio/virtio_user/vhost_user.c:131:2: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: argum= ent 2 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: note: in a cal= l to built-in function =E2=80=98__builtin___memcpy_chk=E2=80=99 --=20 You are receiving this mail because: You are the assignee for the bug.= --17162472080.57D19E9.1471874 Date: Tue, 21 May 2024 01:20:08 +0200 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All
Bug ID 1446
Summary Fortify warnings in rte_pcapng
Product DPDK
Version 24.03
Hardware All
OS All
Status UNCONFIRMED
Severity minor
Priority Normal
Component ethdev
Assignee dev@dpdk.org
Reporter stephen@networkplumber.org
Target Milestone ---

On Ubuntu 22.04 build:

In file included from /usr/include/string.h:548,
                 from ../lib/pcapng/rte_pcapng.c:9:
In function =E2=80=98memcpy=E2=80=99,
    inlined from =E2=80=98pcapng_add_option=E2=80=99 at ../lib/pcapng/rte_p=
capng.c:131:2,
    inlined from =E2=80=98pcapng_section_block=E2=80=99 at ../lib/pcapng/rt=
e_pcapng.c:192:8:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: argum=
ent
2 null where non-null expected [-Wnonnull]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: note: in a cal=
l to
built-in function =E2=80=98__builtin___memcpy_chk=E2=80=99
In function =E2=80=98memcpy=E2=80=99,
    inlined from =E2=80=98pcapng_add_option=E2=80=99 at ../lib/pcapng/rte_p=
capng.c:131:2,
    inlined from =E2=80=98rte_pcapng_add_interface=E2=80=99 at
../lib/pcapng/rte_pcapng.c:308:8:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: argum=
ent
2 null where non-null expected [-Wnonnull]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: note: in a cal=
l to
built-in function =E2=80=98__builtin___memcpy_chk=E2=80=99
In function =E2=80=98memcpy=E2=80=99,
    inlined from =E2=80=98pcapng_add_option=E2=80=99 at ../lib/pcapng/rte_p=
capng.c:131:2,
    inlined from =E2=80=98rte_pcapng_write_stats=E2=80=99 at ../lib/pcapng/=
rte_pcapng.c:371:9:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: argum=
ent
2 null where non-null expected [-Wnonnull]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: note: in a cal=
l to
built-in function =E2=80=98__builtin___memcpy_chk=E2=80=99
[1964/2680] Compiling C object
drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_user_vhost_user.c.o
In file included from /usr/include/string.h:548,
                 from /usr/include/x86_64-linux-gnu/sys/un.h:38,
                 from ../drivers/net/virtio/virtio_user/vhost_user.c:10:
In function =E2=80=98memcpy=E2=80=99,
    inlined from =E2=80=98vhost_user_write.constprop=E2=80=99 at
../drivers/net/virtio/virtio_user/vhost_user.c:131:2:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: argum=
ent
2 null where non-null expected [-Wnonnull]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: note: in a cal=
l to
built-in function =E2=80=98__builtin___memcpy_chk=E2=80=99
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --17162472080.57D19E9.1471874--