summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-11-30Revert r1.109 (Switch to XWindowEvent() pulling out events that match the maskOkan Demirmen
*and* window.) of mousefunc.c. When a client destroys itself while we are moving or resizing it, XWindowEvent() blocks. Found the hard way by Anton Lazarov, and Lea°hNeukirchen found the right bit to revert - thanks! Reverting since the reason to switch from XMaskEvent was unclear.
2017-11-28updateMatthieu Herrb
2017-11-28Update to libXfont2 2.0.3Matthieu Herrb
2017-11-28Update to libXfont 1.5.4Matthieu Herrb
2017-11-28Update to libXcursor 1.1.15Matthieu Herrb
2017-11-26updateMatthieu Herrb
2016-11-02Import libXfont2 version 2.0.1Matthieu Herrb
2017-11-26MFC: adapt to XF86_CRTC_VERSION 7Matthieu Herrb
2017-11-26MFC: Adapt to video API 22Matthieu Herrb
2017-11-19Adapt xf86-video-intel to xserver 1.19 ABI changes. MostlyMatthieu Herrb
from upstreams commits. Tested by many. Thanks.
2017-11-12xdm -> xenodm in log and error messagesMatthieu Herrb
2017-11-11xf86-input-acecad: adapt to latest xserver input driver API.Matthieu Herrb
2017-11-09use the proper macros in the AUTHORS sectionIngo Schwarze
2017-10-29Use SA_RESETHAND rather than SA_ONESHOTMatthieu Herrb
The latter is an obsolete non-standard, Linux only synonym for the former. This caused syndaemon(1) to enter an an infinite loop whenever it receives a SIGINT signal. Patch from Luca Castagnini. Thanks.
2017-10-23This file isn't built anymore. So remove diffs with upstreams.Matthieu Herrb
2017-10-23updateMatthieu Herrb
2017-10-23Unlink libpthread-stubs from xenocara builds.Matthieu Herrb
ok sthen@ who will take care of the ports tree. Also ok espie@
2017-10-23Remove all references to libpthread-stubs from xenocara.Matthieu Herrb
"looks sane" guenther@.
2017-10-22updateMatthieu Herrb
2017-10-22updateMatthieu Herrb
2017-10-22updateMatthieu Herrb
2017-10-22Update to libXfont2 2.0.2.Matthieu Herrb
Not yet linked to the build
2017-10-22Update to libXfont 1.5.3.Matthieu Herrb
No actual change since individual commits were already merged.
2017-10-22syncMatthieu Herrb
2017-10-22Update to libXRes 1.2.0Matthieu Herrb
2016-11-02Import libXfont2 version 2.0.1Matthieu Herrb
2017-10-14MFC: Unvalidated extra length in ProcEstablishConnection (CVE-2017-12176)Matthieu Herrb
2017-10-14MFC: dbe: Unvalidated variable-length request inMatthieu Herrb
ProcDbeGetVisualInfo (CVE-2017-12177) v2: Protect against integer overflow (Alan Coopersmith)
2017-10-14MFC: Xi: fix wrong extra length check in ProcXIChangeHierarchyMatthieu Herrb
(CVE-2017-12178)
2017-10-14MFC: Xi: integer overflow and unvalidated length inMatthieu Herrb
(S)ProcXIBarrierReleasePointer [jcristau: originally this patch fixed the same issue as commit 211e05ac85 "Xi: Test exact size of XIBarrierReleasePointer", with the addition of these checks] This addresses CVE-2017-12179
2017-10-14MFC: Xi: Test exact size of XIBarrierReleasePointerMatthieu Herrb
Otherwise a client can send any value of num_barriers and cause reading or swapping of values on heap behind the receive buffer.
2017-10-14MFC: hw/xfree86: unvalidated lengthsMatthieu Herrb
This addresses: CVE-2017-12180 in XFree86-VidModeExtension CVE-2017-12181 in XFree86-DGA CVE-2017-12182 in XFree86-DRI
2017-10-14MFC: xfixes: unvalidated lengths (CVE-2017-12183)Matthieu Herrb
v2: Use before swap (Jeremy Huddleston Sequoia) v3: Fix wrong XFixesCopyRegion checks (Alan Coopersmith)
2017-10-14MFC: Unvalidated lengthsMatthieu Herrb
v2: Add overflow check and remove unnecessary check (Julien Cristau) This addresses: CVE-2017-12184 in XINERAMA CVE-2017-12185 in MIT-SCREEN-SAVER CVE-2017-12186 in X-Resource CVE-2017-12187 in RENDER
2017-10-14MFC: os: Make sure big requests have sufficient length.Matthieu Herrb
A client can send a big request where the 32B "length" field has value 0. When the big request header is removed and the length corrected, the value will underflow to 0xFFFFFFFF. Functions processing the request later will think that the client sent much more data and may touch memory beyond the receive buffer.
2017-10-14MFC: xkb: Handle xkb formated string output safely (CVE-2017-13723)Matthieu Herrb
Generating strings for XKB data used a single shared static buffer, which offered several opportunities for errors. Use a ring of resizable buffers instead, to avoid problems when strings end up longer than anticipated.
2017-10-14MFC: xkb: Escape non-printable characters correctlyMatthieu Herrb
XkbStringText escapes non-printable characters using octal numbers. Such escape sequence would be at most 5 characters long ("\0123"), so it reserves 5 bytes in the buffer. Due to char->unsigned int conversion, it would print much longer string for negative numbers.
2017-10-14MFC: Xext/shm: Validate shmseg resource id (CVE-2017-13721)Matthieu Herrb
Otherwise it can belong to a non-existing client and abort X server with FatalError "client not in use", or overwrite existing segment of another existing client.
2017-10-14MFC: pcfGetProperties: Check string boundaries (CVE-2017-13722)Matthieu Herrb
Without the checks a malformed PCF file can cause the library to make atom from random heap memory that was behind the `strings` buffer. This may crash the process or leak information.
2017-10-14MFC: Check for end of string in PatternMatch (CVE-2017-13720)Matthieu Herrb
If a pattern contains '?' character, any character in the string is skipped, even if it is '\0'. The rest of the matching then reads invalid memory.
2017-10-12Remove xdm. Unhooked since more than 6 months.Matthieu Herrb
2017-10-04chown before chmodMatthieu Herrb
This prevents a malicious user logging out from calling chmod while still owning /dev/console and thus by-passing the '622' mode that is set here. Issue reported by Tim Chase. Thanks. Merged from xdm upstreams
2006-11-25Importing from X.Org 7.2RC2Matthieu Herrb
2017-09-25Force Intel Ironlake chipsets to use the xf86-video-intel driver.Matthieu Herrb
stsp@ reported that modesetting(4) has been reported unreliable on his laptop, while intel(4) works. XXXX to be removed after 6.2 to figure out and fix the issue. ok kettenis@, also discussed briefly with deraadt@ during EuroBSDCon.
2017-09-17updatesMatthieu Herrb
2017-09-06Case matters for menu matching on executables; from ben@lloyd.im.Okan Demirmen
2017-09-05backout hard-coded behaviour change which was not discussed, inTheo de Raadt
particular no justification for why the current behaviour is wrong
2017-08-30amend commentDavid Coppa
2017-08-30Use 'unix:0' for the DISPLAY environment variableDavid Coppa
ok matthieu@
2017-08-29Fix error check according to the secure idiom described in the snprintf(3)anton
manual. ok dcoppa@