Re: [PATCH] m68k: mm: Replace deprecated strncpy() with strscpy()

2025-02-18 Thread Greg Ungerer
Hi Thorsten, On 19/2/25 00:13, Geert Uytterhoeven wrote: On Thu, 13 Feb 2025 at 15:11, Thorsten Blum wrote: strncpy() is deprecated for NUL-terminated destination buffers. Use strscpy() instead and remove the manual NUL-termination. Compile-tested only. Link: https://github.com/KSPP/linux/is

Re: [PATCH v2] binfmt_flat: Fix corruption when not offsetting data start

2024-08-07 Thread Greg Ungerer
ed library pointer region so that it will only be initialized if space is reserved for it. Fixes: 04d82a6d0881 ("binfmt_flat: allow not offsetting data start") Co-developed-by: Stefan O'Rear Signed-off-by: Stefan O'Rear Signed-off-by: Kees Cook Looks good. Acked-by: Greg Unge