Re: [Libguestfs] [PATCH nbdkit] Ban use of stack Variable Length Arrays (VLAs).

2019-09-05 Thread Richard W.M. Jones
On Thu, Sep 05, 2019 at 07:57:44AM -0500, Eric Blake wrote: > On 9/5/19 6:28 AM, Richard W.M. Jones wrote: > > I'm not someone who thinks VLAs are automatically bad and unlike Linux > > kernel code they can sometimes be used safely in userspace. However > > for an internet exposed server there is

Re: [Libguestfs] [PATCH nbdkit] Ban use of stack Variable Length Arrays (VLAs).

2019-09-05 Thread Eric Blake
On 9/5/19 6:28 AM, Richard W.M. Jones wrote: > I'm not someone who thinks VLAs are automatically bad and unlike Linux > kernel code they can sometimes be used safely in userspace. However > for an internet exposed server there is an argument that they might > cause some kind of exploitable

[Libguestfs] [PATCH nbdkit] Ban use of stack Variable Length Arrays (VLAs).

2019-09-05 Thread Richard W.M. Jones
I'm not someone who thinks VLAs are automatically bad and unlike Linux kernel code they can sometimes be used safely in userspace. However for an internet exposed server there is an argument that they might cause some kind of exploitable situation especially if the code is compiled without other