On Thu, Feb 07, 2019 at 07:30:59PM +0000, Peter Maydell wrote: > Should we be looking to get rid of these and turn on the -Wvla > warning? I know the Linux kernel has recently decided to do this > (some rationale at the start of https://lwn.net/Articles/749064/).
I'm in favor of avoiding variable-length arrays just so reviewers don't need to catch instances where the size comes from the untrusted guest. Stefan
signature.asc
Description: PGP signature