mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 09:50:04 +00:00
![Kees Cook](/assets/img/avatar_default.png)
As done for memcpy(), also update memmove() to use the same tightened compile-time checks under CONFIG_FORTIFY_SOURCE. Signed-off-by: Kees Cook <keescook@chromium.org>
5 lines
139 B
C
5 lines
139 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
#define TEST \
|
|
memmove(large, instance.buf, sizeof(instance.buf) + 1)
|
|
|
|
#include "test_fortify.h"
|