libXt: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Mar 14 17:29:45 UTC 2023
.gitlab-ci.yml | 5
COPYING | 2
configure.ac | 14 -
include/X11/Intrinsic.h | 20 +
man/XtMalloc.man | 25 +
src/Alloc.c | 52 +++
src/Composite.c | 6
src/Converters.c | 4
src/Create.c | 8
src/Destroy.c | 8
src/Display.c | 30 --
src/Event.c | 13
src/EventUtil.c | 7
src/GCManager.c | 6
src/GetResList.c | 6
src/Hooks.c | 7
src/Initialize.c | 8
src/Intrinsic.c | 2
src/Manage.c | 3
src/NextEvent.c | 13
src/Object.c | 5
src/PassivGrab.c | 4
src/ResConfig.c | 3
src/Resources.c | 21 -
src/Selection.c | 47 +--
src/SetWMCW.c | 4
src/Shell.c | 8
src/TMaction.c | 17 -
src/TMkey.c | 16 -
src/TMparse.c | 9
src/TMstate.c | 113 +++-----
src/Threads.c | 9
src/VarCreate.c | 5
src/VarGet.c | 2
src/Varargs.c | 6
test/Alloc.c | 667 +++++++++++++++++++++++++++++++++++++++++++++++-
test/Makefile.am | 3
37 files changed, 942 insertions(+), 236 deletions(-)
New commits:
commit b3b0c1ad25a5d0f628eddd00113a40364d68480b
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Mar 3 17:42:47 2023 -0800
Replace XtMalloc() calls with XtMallocArray()
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit b1b54c50d0e5851d72c1e7aff4057687be2e447e
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Mar 3 16:23:20 2023 -0800
Replace XtRealloc() calls with XtReallocArray()
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 4ece1c842a08c11c1f84b95355801d41cd8435b1
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Mar 3 14:55:19 2023 -0800
Add XtReallocArray() for overflow checking of multiplied args
Uses reallocarray() if available, otherwise checks for overflow itself,
if overflow is possible (i.e. in ILP32 & ILP64 environments, but not LP64
with 32-bit ints).
Includes unit tests and XtMallocArray() helper macro.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 392eb1cd5f2bdb186f0ff7f51abc4dd05ec13709
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Mar 3 13:28:18 2023 -0800
test: Add unit tests for XtMalloc, XtCalloc, & XtRealloc
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list