Commit Graph

6794 Commits

Author SHA1 Message Date
deraadt
ca502679c1 sync 2020-08-29 13:57:52 +00:00
mglocker
c281dda5e4 Be consistent with control value output; ':' -> '='.
From Laurence Tratt <laurie (at) tratt (dot) net>
2020-08-29 13:45:30 +00:00
deraadt
e21ed1ddb2 closer sync 2020-08-28 23:55:40 +00:00
jsg
0167b90cd0 explicitly remove *.la files from old Mesa builds
While we no longer install .la files for Mesa naddy@ pointed out that
using libtool to build something like libGLU could result in .la files
which reference old Mesa .la files.

Remove Mesa .la files found in DESTDIR on install as suggested by
millert@

ok millert@ matthieu@ deraadt@
2020-08-28 16:07:18 +00:00
deraadt
3cf044c035 mostly synced 2020-08-28 14:13:26 +00:00
jsg
bd7b25c10b remove libtxc_dxtn included in Mesa since 17.3 2020-08-28 06:28:32 +00:00
jsg
5c2fb2322a sync 2020-08-28 06:00:12 +00:00
jsg
4787ec2fce don't build libtxc_dxtn included in Mesa since 17.3 2020-08-28 05:54:00 +00:00
jsg
851807c713 build with --disable-dri3 when XENOCARA_BUILD_DRI is "no"
fixes build breakage on alpha reported by deraadt@
2020-08-28 02:20:19 +00:00
jsg
860983ef49 drop local change for 32 bit atomics via pthread locks
Mesa is no longer built on hppa or sh
2020-08-27 14:03:46 +00:00
jsg
abbb20036f build with -DMISSING_64BIT_ATOMICS on powerpc 2020-08-27 13:34:33 +00:00
jsg
af0d139433 drop local workarounds for gcc 4.2 2020-08-27 12:31:19 +00:00
jsg
3f2636fe13 build addrlib with -Wno-unused-variable matching meson build 2020-08-27 05:02:25 +00:00
jsg
9443087ef3 radv: Explicitly cast TIMESTAMP_NOT_READY value to uin32_t where needed.
From Oschowa
c310677a7563b1e2d97f8216be1d60cb21204eae in mainline mesa

reduces clang warnings
2020-08-27 04:29:06 +00:00
jsg
33e8c1dc61 aco: Use correct reference type in for-range-loop.
From Oschowa
663e8cb4e67f8b85186631c6a3719ed83da32151 in mainline mesa

reduces clang warnings
2020-08-27 04:26:48 +00:00
jsg
3d26db0194 aco: Don't std::move temporary object.
From Oschowa
7b1bc460fd6ae9bf5efeca62227bb05e0c50ee15 in mainline mesa

reduces clang warnings
2020-08-27 04:23:37 +00:00
jsg
bec5c196e7 aco: Don't declare 'Block' as class, but define as struct.
From Oschowa
536339b0dda33241d21a0e045681419ca46fc812 in mainline mesa

reduces clang warnings
2020-08-27 04:20:57 +00:00
jsg
952b4b274c radv: Don't take absolute value of unsigned type.
From Oschowa
c2a778ef0f1720f9fb28afd40a791488648218d0 in mainline mesa

reduces clang warnings
2020-08-27 04:17:01 +00:00
jsg
d9428e1972 build with -Wno-typedef-redefinition
clang with -std=c99 generates warnings on typedef redefinition
likely unnoticed upstream as gcc does not do this

excessive amounts of warnings from vulkan driver headers pointed
out by deraadt@
2020-08-27 03:18:26 +00:00
jsg
dc127cd8fa sync 2020-08-26 06:55:35 +00:00
jsg
d3580fdc06 crank glapi minor for new symbol 2020-08-26 06:54:57 +00:00
jsg
9f3ce83c68 adjust for files which are symlinks in distfile 2020-08-26 06:36:08 +00:00
jsg
7bc504799c stop building Mesa on alpha hppa and landisk
a C++11 compiler is required and these archs don't have clang

ok deraadt@
2020-08-26 06:25:26 +00:00
jsg
a00174f921 sync 2020-08-26 06:17:30 +00:00
jsg
7a38a6d3be update 2020-08-26 06:14:38 +00:00
jsg
6cd42bcb24 Merge Mesa 20.1.6 2020-08-26 06:02:31 +00:00
jsg
241b1c1308 Import Mesa 20.1.6 2020-08-26 05:26:37 +00:00
matthieu
69c74330d7 update 2020-08-25 16:04:57 +00:00
matthieu
bc29ab7850 Fix integer underflow in XRecordRegisterClients()
Reported by Jan-Niklas Sohn working with Trend Micro Zero Day Initiative.
2020-08-25 15:43:26 +00:00
matthieu
83d462e24d Fix integer underflow in XkbSelectEvents()
Reported by Jan-Niklas Sohn working with Trend Micro Zero Day Initiative.
2020-08-25 15:42:52 +00:00
matthieu
77c86a2898 Fix an integer underflow in XIChangeHierarchy()
Reported by Jan-Niklas Sohn working with Trend Micro Zero Day Initiative.
2020-08-25 15:41:59 +00:00
matthieu
02b8f73518 Correct bounds checking in XkbSetNames()
Reported by Jan-Niklas Sohn working with Trend Micro Zero Day Initiative.
2020-08-25 15:40:59 +00:00
matthieu
c79b35190f Fix an integer overflow in init_om() that could lead to a double free.
Reported by Jayden Rivers.
2020-08-25 15:39:58 +00:00
mglocker
79163eedae Allow auto controls to be set back to auto mode explicitly.
From Laurence Tratt <laurie (at) tratt (dot) net>
2020-08-23 10:49:34 +00:00
matthieu
bb74146ca2 Fix a bug where some input clients can't connect to the input server.
FreeBSD bugzilla reference:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248549
2020-08-20 19:12:48 +00:00
matthieu
574495efdc update 2020-08-16 15:59:10 +00:00
matthieu
f561a12735 Update to xkbcomp 1.4.3 2020-08-16 15:56:49 +00:00
mglocker
e1abe9d332 Allow the combination of '-dc' options, reset and display control values.
Reported by Laurence Tratt.
2020-08-11 05:35:17 +00:00
mglocker
0cbeaf0514 Remove braces for single line control statement. 2020-08-09 06:51:04 +00:00
mglocker
b1d26652c3 If a control supports auto mode and this is active, print 'auto' with -c
instead of printing the last set numeric value.

Initial diff from Laurence Tratt with some enhancements added.
2020-08-09 06:41:51 +00:00
matthieu
4c672aa51a Merge from upstream X.Org : Fix size calculation in _XimAttributeToValue
The check here guards the read below.

For `XimType_XIMStyles`, these are `num` of `CARD32` and for
`XimType_XIMHotKeyTriggers` these are `num` of `XIMTRIGGERKEY` ref[1]
which is defined as 3 x `CARD32`.  (There are data after the
`XIMTRIGGERKEY` according to the spec but they are not read by this
function and doesn't need to be checked.)

The old code here used the native datatype size instead of the wire
protocol size causing the check to always fail.

Also fix the size calculation for the header (size). It is 2 x CARD16
for both types despite the unused `CARD16` for `XimType_XIMStyles`.

This fixes a regression caused by previous commit.
2020-08-06 14:28:54 +00:00
mglocker
044da0a592 Don't compare a pointer to a null character constant but to NULL.
With best regards from clang 10.
2020-08-05 11:34:00 +00:00
mglocker
4fa22cfd66 Add the ability to set and display video control values directly on the
CLI.

Initial diff from Laurence Tratt with some enhancements/changes added.

ok mpi@
2020-08-05 10:49:47 +00:00
visa
587f130e27 Fix Mesa build with clang 10 on mips64.
On mips64, the compiler does not allow use of non-zero argument with
__builtin_frame_address(). However, the returned frame address is only
used when PIPE_ARCH_X86 is defined. The compile error can be avoided
by making #ifdef PIPE_ARCH_X86 cover the getting of frame address too.

The argument checking of __builtin_frame_address() has been present
as a debug assert in clang 8. In clang 10, there is a proper runtime
check for the argument. This is why the build has not failed before.

OK jsg@
2020-08-01 03:51:31 +00:00
matthieu
0a2f4bc72f fix for X Server Pixel Data Uninitialized Memory Information Disclosure
CVE-2020-14347

This vulnerability was discovered and reported to X.Org by Jan-Niklas
Sohn working with Trend Micro Zero Day Initiative.
2020-07-31 14:00:21 +00:00
matthieu
f22a219d59 Fixes for Heap corruption in the X input method client in libX11
CVE-2020-14344

These where reported to X.Org and patches proposed by Todd Carson.
Thanks.
2020-07-31 13:53:24 +00:00
matthieu
c7cbd7e332 Fix SHARED_LIBS 2020-07-19 17:10:17 +00:00
matthieu
297c23d57a update 2020-07-19 08:32:50 +00:00
deraadt
fd2decc482 sync 2020-07-17 22:26:17 +00:00
deraadt
b15a4619b2 sync 2020-07-17 22:21:21 +00:00