Re: [PATCH v2] ntsync: Check wait count based on byte size.
From: Elizabeth Figura <zfigura@codeweavers.com>
Date: 2025-02-20 19:29:27
Also in:
lkml
From: Elizabeth Figura <zfigura@codeweavers.com>
Date: 2025-02-20 19:29:27
Also in:
lkml
On Thursday, 20 February 2025 13:23:34 CST Elizabeth Figura wrote:
GCC versions below 13 incorrectly detect the copy size as being static and too small to fit in the "fds" array. Work around this by explicitly calculating the size and returning EINVAL based on that, instead of based on the object count. Reported-by: kernel test robot <redacted> Closes: https://lore.kernel.org/oe-kbuild-all/202502072019.LYoCR9bF-lkp@intel.com/ (local) Suggested-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Elizabeth Figura <zfigura@codeweavers.com>
Oops, I forgot to include a reference to v1: https://lore.kernel.org/all/20250219001920.210847-1-zfigura@codeweavers.com/ (local)