Re: [linux-yocto] [linux-yocto v6.5 1/1] neighbour: Fix __randomize_layout crash in struct neighbour

2024-03-12 Thread Bruce Ashfield
merged. I'm not updating the 6.5 SRCREVs very often now, so if you need this sooner rather than later, I'd suggest bumping your SRCREVs locally. Bruce In message: [linux-yocto v6.5 1/1] neighbour: Fix __randomize_layout crash in struct neighbour on 12/03/2024 Jon Mason wrote: > From: "

[linux-yocto] [linux-yocto v6.5 1/1] neighbour: Fix __randomize_layout crash in struct neighbour

2024-03-12 Thread Jon Mason
From: "Gustavo A. R. Silva" Previously, one-element and zero-length arrays were treated as true flexible arrays, even though they are actually "fake" flex arrays. The __randomize_layout would leave them untouched at the end of the struct, similarly to proper C99 flex-array members. However,