Skip to content

Commit fdae9d2

Browse files
committed
Update to libXrender 0.9.12
1 parent a307c9b commit fdae9d2

18 files changed

+16634
-6287
lines changed

Diff for: lib/libXrender/ChangeLog

+85-5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,83 @@
1+
commit 46e12ff9e8e4d3f0313a2f097df93dbfdc14f92f
2+
Author: Alan Coopersmith <[email protected]>
3+
Date: Fri Dec 13 13:02:31 2024 -0800
4+
5+
libXrender 0.9.12
6+
7+
Signed-off-by: Alan Coopersmith <[email protected]>
8+
9+
commit 432f2c85f0597f189f80fe80a67f00f7d10c930f
10+
Author: Alan Coopersmith <[email protected]>
11+
Date: Thu Nov 21 16:15:37 2024 -0800
12+
13+
XRenderQueryFormats: add missing allocation failure check
14+
15+
Most allocations in this function were already checked for failures,
16+
but the recently added set had been missed.
17+
18+
Clears 6 warnings from gcc 14.2 of the form:
19+
Xrender.c:361:28: warning: dereference of possibly-NULL ‘format’ [CWE-690]
20+
[-Wanalyzer-possible-null-dereference]
21+
361 | if (xri->format[nf].id == format)
22+
| ~~~~~~~~~~~~~~~^~~
23+
24+
Fixes: 01e7546 ("Ensure XRenderInfo pointers are appropriately aligned")
25+
Signed-off-by: Alan Coopersmith <[email protected]>
26+
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxrender/-/merge_requests/15>
27+
28+
commit 6663858e918923d02c466298670c992a8437a17b
29+
Author: Alan Coopersmith <[email protected]>
30+
Date: Wed Nov 20 17:14:49 2024 -0800
31+
32+
Ensure all BufAlloc calls have trailing semicolon
33+
34+
Most already did, this fixes 3 outliers, so they build with
35+
libx11@563ddd4ff5575e3f8bbf635cbdc339b09a7e285e
36+
37+
Signed-off-by: Alan Coopersmith <[email protected]>
38+
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxrender/-/merge_requests/14>
39+
40+
commit 01e754610df2195536c5b31c1e8df756480599d1
41+
Author: Alex Richardson <[email protected]>
42+
Date: Tue Sep 12 22:55:37 2023 -0700
43+
44+
Ensure XRenderInfo pointers are appropriately aligned
45+
46+
While runnig some X11 applications on an Arm Morello platform I noticed
47+
bus errors inside xrender. XRenderInfo uses a single malloc call to
48+
allocate multiple objects in one single allocation and places those objects
49+
directly after the XRenderInfo object. However, these calculations do not
50+
ensure that this objects are sufficiently aligned. I noticed this because
51+
on Morello (and other CHERI-enabled architectures) pointers need to be
52+
strongly aligned. Instead of allocating a single block with potentially
53+
misaligned subsequent objects, this change uses seprate allocations for
54+
the four arrays.
55+
56+
This is an alternative to https://gitlab.freedesktop.org/xorg/lib/libxrender/-/merge_requests/12
57+
58+
Signed-off-by: Alex Richardson <[email protected]>
59+
60+
commit 07efd80468f6b595e6432edd28b8560ca7695ba0
61+
Author: Alan Coopersmith <[email protected]>
62+
Date: Tue Mar 7 11:11:26 2023 -0800
63+
64+
configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
65+
66+
AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008,
67+
so it's time to rely on it.
68+
69+
Clears autoconf warnings:
70+
71+
configure.ac:45: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
72+
configure.ac:45: You should run autoupdate.
73+
aclocal.m4:3465: AC_PROG_LIBTOOL is expanded from...
74+
configure.ac:45: the top level
75+
76+
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
77+
libtoolize: and rerunning libtoolize and aclocal.
78+
79+
Signed-off-by: Alan Coopersmith <[email protected]>
80+
181
commit e5e23272394c90731debd7e18dd167e8c25b5c15
282
Author: Alan Coopersmith <[email protected]>
383
Date: Fri Oct 21 18:12:50 2022 -0700
@@ -532,7 +612,7 @@ Date: Thu Jan 14 09:43:56 2010 -0500
532612
Signed-off-by: Gaetan Nadon <[email protected]>
533613

534614
commit fc8b02894452ad93101b35fec41cb1baf72e746a
535-
Author: Rémi Cardona <[email protected]>
615+
Author: Rémi Cardona <[email protected]>
536616
Date: Thu Dec 17 08:30:04 2009 +0100
537617

538618
require autoconf 2.60 because of $(docdir) use
@@ -592,7 +672,7 @@ Date: Thu Oct 22 12:34:19 2009 -0400
592672
when the structure of the component changes. Do not edit defaults.
593673

594674
commit 1da8c1bfbb17750e5ba51321961aaf39b8cf98f7
595-
Author: Tomáš Chvátal <s <[email protected]>
675+
Author: Tomáš Chvátal <[email protected]>
596676
Date: Sun Nov 29 13:38:42 2009 +0100
597677

598678
Make libXrender use docdir for documentation placement.
@@ -841,19 +921,19 @@ Date: Thu Jun 9 13:49:06 2005 +0000
841921
$(top_srcdir) to INCLUDES
842922

843923
commit 8f765c413911d355dd95a312e31deaf1166206f9
844-
Author: Søren Sandmann Pedersen <[email protected]>
924+
Author: Søren Sandmann Pedersen <[email protected]>
845925
Date: Thu May 19 20:33:55 2005 +0000
846926

847927
Add forgotten region.h
848928

849929
commit 65cb00ad3da0cdaad1429ac5cb01e12d7f4a6d0d
850-
Author: Søren Sandmann Pedersen <[email protected]>
930+
Author: Søren Sandmann Pedersen <[email protected]>
851931
Date: Thu May 19 19:58:24 2005 +0000
852932

853933
- Add Xrender build system
854934

855935
commit 99a8286d49152c45ebead33df9f32bf6b7799bee
856-
Author: Søren Sandmann Pedersen <[email protected]>
936+
Author: Søren Sandmann Pedersen <[email protected]>
857937
Date: Thu May 19 19:26:35 2005 +0000
858938

859939
- Conditionally include config.h in xc/lib/Xrender/*.c

Diff for: lib/libXrender/Makefile.in

-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ CC = @CC@
211211
CCDEPMODE = @CCDEPMODE@
212212
CFLAGS = @CFLAGS@
213213
CHANGELOG_CMD = @CHANGELOG_CMD@
214-
CPP = @CPP@
215214
CPPFLAGS = @CPPFLAGS@
216215
CWARNFLAGS = @CWARNFLAGS@
217216
CYGPATH_W = @CYGPATH_W@

0 commit comments

Comments
 (0)