Re: [PATCH][next] drm/vmwgfx: Replace one-element array with flexible-array member

2023-02-03 Thread Zack Rusin
On Thu, 2023-02-02 at 19:27 -0600, Gustavo A. R. Silva wrote: > One-element arrays are deprecated, and we are replacing them with flexible > array members instead. So, replace one-element array with flexible-array > member in struct vmw_view. > > This helps with the ongoing efforts to tighten the

Re: [PATCH][next] drm/vmwgfx: Replace one-element array with flexible-array member

2023-02-03 Thread Kees Cook
On Thu, Feb 02, 2023 at 07:27:10PM -0600, Gustavo A. R. Silva wrote: > One-element arrays are deprecated, and we are replacing them with flexible > array members instead. So, replace one-element array with flexible-array > member in struct vmw_view. > > This helps with the ongoing efforts to tight

[PATCH][next] drm/vmwgfx: Replace one-element array with flexible-array member

2023-02-02 Thread Gustavo A. R. Silva
One-element arrays are deprecated, and we are replacing them with flexible array members instead. So, replace one-element array with flexible-array member in struct vmw_view. This helps with the ongoing efforts to tighten the FORTIFY_SOURCE routines on memcpy() and help us make progress towards gl