Commit Graph

1 Commits

Author SHA1 Message Date
Josef Oskera f792019322 fortify: Detect struct member overflows in memmove() at compile-time
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2139493

commit 938a000e3f9bead24ea753286b3e4d2423275c9e
Author: Kees Cook <keescook@chromium.org>
Date:   Wed Jun 16 14:48:19 2021 -0700

    fortify: Detect struct member overflows in memmove() at compile-time

    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>

Signed-off-by: Josef Oskera <joskera@redhat.com>
2022-12-10 23:01:43 +01:00