libXft: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jul 18 22:13:47 UTC 2025
src/xftrender.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5ba83f8ff76ae72a22d0a3a10e4159570e8c893d
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Thu Jul 17 15:00:15 2025 -0700
XftGlyphRender: avoid -Walloc-size-larger-than= warning
Ensure we don't cast a negative signed int argument to a
very large unsigned size_t value.
Reported by gcc 14.2:
xftrender.c: In function ‘XftGlyphRender’:
xftrender.c:148:17: warning: argument 1 range [18446744071562067968,
18446744073709551615] exceeds maximum object size 9223372036854775807
[-Walloc-size-larger-than=]
148 | chars = malloc (needed);
| ^~~~~~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxft/-/merge_requests/35>
More information about the xorg-commit
mailing list