libICE: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Nov 16 20:19:51 UTC 2024
src/authutil.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 3ea01ff303843b13ffa18bc8207d4f41631ea66c
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Nov 9 08:07:37 2024 -0800
write_counted_string: avoid undefined behavior in fwrite() call
In C23 and earlier, it is undefined behavior to call fwrite() with a
NULL pointer, even if the size to copy is zero bytes.
Closes: #11
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libice/-/merge_requests/21>
More information about the xorg-commit
mailing list