On Wed, 26 Feb 2025 00:21:27 +0100, Thorsten Blum wrote:
> Since kstrtol() requires a NUL-terminated string as input and strncpy()
> is deprecated for NUL-terminated destination buffers, use strscpy()
> instead.
>
> Compile-tested only.
>
>
> [...]
Thank you for your contribution, it has been
On Fri, 22 Sep 2023 10:54:37 -0700, Kees Cook wrote:
> Prepare for the coming implementation by GCC and Clang of the __counted_by
> attribute. Flexible array members annotated with __counted_by can have
> their accesses bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS
> (for array index
On Fri, 22 Sep 2023 10:54:21 -0700, Kees Cook wrote:
> Prepare for the coming implementation by GCC and Clang of the __counted_by
> attribute. Flexible array members annotated with __counted_by can have
> their accesses bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS
> (for array index