lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 7 May 2020 18:04:26 -0500
From:   "Gustavo A. R. Silva" <gustavoars@...nel.org>
To:     Shuah Khan <skhan@...uxfoundation.org>
Cc:     Shuah Khan <shuah@...nel.org>, linux-kselftest@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tools/testing: Replace zero-length array with
 flexible-array

On Thu, May 07, 2020 at 01:04:14PM -0600, Shuah Khan wrote:
> > 
> > diff --git a/tools/testing/selftests/nsfs/pidns.c b/tools/testing/selftests/nsfs/pidns.c
> > index e0d86e1668c0..e3c772c6a7c7 100644
> > --- a/tools/testing/selftests/nsfs/pidns.c
> > +++ b/tools/testing/selftests/nsfs/pidns.c
> > @@ -27,7 +27,7 @@
> >   #define __stack_aligned__	__attribute__((aligned(16)))
> >   struct cr_clone_arg {
> >   	char stack[128] __stack_aligned__;
> > -	char stack_ptr[0];
> > +	char stack_ptr[];
> >   };
> >   static int child(void *args)
> > 
> 
> Thanks for the patch. I will pull this in for 5.7-rc6
> 

Thanks, Shuah.

--
Gustavo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ