Thread (15 messages) 15 messages, 7 authors, 2022-06-28

Re: [PATCH][next] treewide: uapi: Replace zero-length arrays with flexible-array members

From: "Gustavo A. R. Silva" <gustavoars@kernel.org>
Date: 2022-06-28 14:18:37
Also in: bpf, dm-devel, dri-devel, io-uring, kvm, linux-arm-kernel, linux-btrfs, linux-can, linux-fsdevel, linux-hardening, linux-m68k, linux-mips, linux-mmc, linux-perf-users, linux-rdma, linux-s390, linux-scsi, linux-sctp, linux-usb, lkml, lvs-devel, netdev, netfilter-devel, nvdimm, target-devel

On Mon, Jun 27, 2022 at 12:53:43PM -0700, Stephen Hemminger wrote:
Thanks this fixes warning with gcc-12 in iproute2.
In function ‘xfrm_algo_parse’,
    inlined from ‘xfrm_state_modify.constprop’ at xfrm_state.c:573:5:
xfrm_state.c:162:32: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  162 |                         buf[j] = val;
      |                         ~~~~~~~^~~~~
Great! This gives me hope. :)

Thanks
--
Gustavo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help