libICE: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Nov 16 20:04:08 UTC 2024


 src/process.c |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

New commits:
commit cea5bb04617449756994a999ff258884aac802d1
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Nov 8 11:52:26 2024 -0800

    AuthRequired: avoid undefined behavior in memcpy() call
    
    In C23 and earlier, it is undefined behavior to call memcpy() with a
    NULL pointer, even if the size to copy is zero bytes.
    
    Closes: #10
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/lib/libice/-/merge_requests/20>



More information about the xorg-commit mailing list