summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-11-25import from X.Org 7.2RC1Matthieu Herrb
2006-11-25import from X.Org 7.2RC1Matthieu Herrb
2016-10-10Move headers files to 'GL/' so that the library can be builtMatthieu Herrb
without installed headers.
2016-10-10syncTheo de Raadt
2016-10-09updateAlexandr Shadchin
2016-10-09Update to xkeyboard-config 2.19Alexandr Shadchin
ok matthieu@
2016-10-09Provide a default clean target now that bsd.subdir.mk doesn't.Matthieu Herrb
2009-06-06Import xkeyboard-config version 1.6.Matthieu Herrb
2016-10-08ks_tables.h is always considered out of date due to the forced rebuildMartin Natano
of the makekeys util. This means it's also rebuilt during install. First as root during build, later by the BUILDUSER during release, which won't be able to rewrite it, because it's now owned by root. With this result: override rw-r--r-- root/wheel for ks_tables.h? One step closer towards noperm release builds for xenocara. ok matthieu
2016-10-08Put back the NOPROFILE= that I accidentally removed in previous commitMatthieu Herrb
2016-10-08use the pkg-config support from bsd.xorg.mk to handleMatthieu Herrb
libGLw and libepoxy .pc files rather than manually generating them as root in postinstall. Spotted by natano@ ok natano@.
2016-10-08updateMatthieu Herrb
2016-10-08Fix package version in fontconfig.pcMatthieu Herrb
2016-10-06Rename 2 kbfunc to match closer to what they doOkan Demirmen
2016-10-06Add an argument to the callbacks to pass the xevent context, button orOkan Demirmen
key press. This allows to remove a few hacks to duplicate functions only for behaviour changes; now differing behaviours are pushed down to the callback. Also will allow for previously unavailable actions to be bind-able down the road.
2016-10-06Check the ptr bounds in the new client during cycling, since not allOkan Demirmen
actions do ptrsave, such as restoring client geometry; adapted from a diff by Vadim Vygonets.
2016-10-05More accurate to say 'toggle', rather than 'select', for group[n]/nogroup.Okan Demirmen
2016-10-05Add CM-a for 'nogroup' (CM-0 stays for now); update manpage to reflect.Okan Demirmen
2016-10-05Stash wmname into conf.Okan Demirmen
2016-10-04When removing xrandr regions, ensure clients are within the bounds ofOkan Demirmen
the screen; adapted from an ancient diff from Sviatoslav Chagaev. Things in this area will likely change, but put this in so it works now and serves as a reminder.
2016-10-04ignore chown error (for systems which don't install a Xserver)Theo de Raadt
2016-10-04Calculate client nameqlen in client_setname(), the only place it'sOkan Demirmen
needed/used.
2016-10-04Turn CALMWM_NGROUPS define into variable, ngroups.Okan Demirmen
2016-10-04Avoid buffer underflow on empty strings.Matthieu Herrb
If an empty string is received from an x-server, do not underrun the buffer by accessing "rep.nameLen - 1" unconditionally, which could end up being -1. From Tobias Stoeckmann / X.Org security advisory Oct 4, 2016
2016-10-04Protocol handling issues in libXvMatthieu Herrb
The Xv query functions for adaptors and encodings suffer from out of boundary accesses if a hostile X server sends a maliciously crafted response. A previous fix already checks the received length against fixed values but ignores additional length specifications which are stored inside the received data. These lengths are accessed in a for-loop. The easiest way to guarantee a correct processing is by validating all lengths against the remaining size left before accessing referenced memory. This makes the previously applied check obsolete, therefore I removed it. From Tobias Stoeckmann / X.Org security advisory Oct 4, 2016
2016-10-04Out of boundary access and endless loop in libXtstMatthieu Herrb
A lack of range checks in libXtst allows out of boundary accesses. The checks have to be done in-place here, because it cannot be done without in-depth knowledge of the read data. If XRecordStartOfData, XRecordEndOfData, or XRecordClientDied without a client sequence have attached data, an endless loop would occur. The do-while-loop continues until the current index reaches the end. But in these cases, the current index would not be incremented, leading to an endless processing. From Tobias Stoeckmann / X.Org security advisory Oct 4, 2016
2016-10-04Validate lengths while parsing server data.Matthieu Herrb
Individual lengths inside received server data can overflow the previously reserved memory. It is therefore important to validate every single length field to not overflow the previously agreed sum of all invidual length fields. From Tobias Stoeckmann / X.Org security advisory Oct 4, 2016
2016-10-04Avoid OOB write in XRenderQueryFiltersMatthieu Herrb
The memory for filter names is reserved right after receiving the reply. After that, filters are iterated and each individual filter name is stored in that reserved memory. The individual name lengths are not checked for validity, which means that a malicious server can reserve less memory than it will write to during each iteration. From Tobias Stoeckmann / X.Org security advisory Oct 4, 2016
2016-10-04Avoid out of boundary accesses on illegal responsesMatthieu Herrb
The responses of the connected X server have to be properly checked to avoid out of boundary accesses that could otherwise be triggered by a malicious server. From Tobias Stoeckmann / X.Org security advisory Oct 4, 2016
2016-10-04Properly validate server responsesMatthieu Herrb
By validating length fields from server responses, out of boundary accesses and endless loops can be mitigated. From Tobias Stoeckmann / X.Org security advisory Oct 4, 2016
2016-10-04Integer overflow on illegal server responseMatthieu Herrb
The 32 bit field "rep.length" is not checked for validity, which allows an integer overflow on 32 bit systems. A malicious server could send INT_MAX as length, which gets multiplied by the size of XRectangle. In that case the client won't read the whole data from server, getting out of sync. From Tobias Stoeckmann / X.Org security advisory Oct 4, 2016
2016-10-04Validation of server responses in XGetImage()Matthieu Herrb
Check if enough bytes were received for specified image type and geometry. Otherwise GetPixel and other functions could trigger an out of boundary read later on. From Tobias Stoeckmann / X.Org security advisory Oct 4, 2016
2016-10-04The validation of server responses avoids out of boundary accesses.Matthieu Herrb
From Tobias Stoeckmann / Xorg Securiry adrvisory Oct 4, 2016.
2016-10-03Start simplifying menu code; and in turn, remove a cursor no longerOkan Demirmen
needed.
2016-10-03Defaults are split between defines and conf_init(); normalize these, asOkan Demirmen
well as give 'sticky' groups its own variable.
2016-10-03For both kb and mouse move, it is possible to grab a client and move itOkan Demirmen
completely off the screen/region; instead, if the pointer is outside of the client bounds, warp the pointer to the closest edge before moving.
2016-10-03client_ptrwarp should not deal with unhiding or raising clients (non ptrOkan Demirmen
requests); most callers do this already - deal with the few that do not. client_ptrwarp becomes a simple wrapper (setpos) but it will be expanded.
2016-10-03revert pixman-vmx.c to the version of pixman-0.32.8.Matthieu Herrb
gcc 4.2 is not able to compile the new version. XXX switch back to 0.34 once macppc switches to clang.
2016-10-02Fix ownership of fonts.dir and font.scale files as well asMatthieu Herrb
fontconfig font caches. mkfontdir and mkfontscale are now run out of font/alias at the end of the build or install, like fc-cache. fc-cache is using its -y (sysroot) flag that works if used correctly.
2016-10-02Fix ownership of /etc/fonts/conf.d/42-luxi-mono.conf linkMatthieu Herrb
2016-10-02Fix installation of libXaw.so.15.0 link.Matthieu Herrb
2016-10-02fix the ownership of the link /usr/X11R6/bin/X -> XorgMatthieu Herrb
2016-10-02regenMatthieu Herrb
2016-10-02Handle the libXaw.so.xx.y symlink in afterinstall: in Makefile.bsd-wrapperMatthieu Herrb
No more diffs with upstreams in autoconf files; owneship of links for non-root/noperm installs is handled too.
2016-10-02regenMatthieu Herrb
2016-10-02Remove local patch for platforms without shared libsMatthieu Herrb
2016-10-02Reduce diffs with upstreamsMatthieu Herrb
2016-10-02regenMatthieu Herrb
2016-10-02Typo font.dir -> fonts.dirMatthieu Herrb
2016-10-02Explicitly set owner and group of the mouse(4) manpage symlink.Theo Buehler
Needed for noperm release. ok matthieu