summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* libXinerama: Set number of screens to 0 on errorTobias Stoeckmann2017-01-241-0/+1
| | | | | | | | | | | | | | The documentation of XineramaQueryScreens states that number is always set to the amount of screens in the returned array, but if the communication with the X server fails, NULL is returned without modifying number. At least dwm relies on the fact that number is set to 0 on error, i.e. when NULL is returned. As a NULL pointer contains 0 elements and the documentation states that number contains the amount of elements of the returned array, I think this should be fixed inside libXinerama. Reviewed-by: Adam Jackson <ajax@redhat.com>
* Remove fallback for _XEatDataWords, require libX11 1.6 for itMichael Joost2013-11-221-14/+0
| | | | | | | | | | | | | _XEatDataWords was orignally introduced with the May 2013 security patches, and in order to ease the process of delivering those, fallback versions of _XEatDataWords were included in the X extension library patches so they could be applied to older versions that didn't have libX11 1.6 yet. Now that we're past that hurdle, we can drop the fallbacks and just require libX11 1.6 for building new versions of the extension libraries. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* integer overflow in XineramaQueryScreens() [CVE-2013-1985]Alan Coopersmith2013-05-041-16/+28
| | | | | | | | | If the reported number of screens is too large, the calculations to allocate memory for them may overflow, leaving us writing beyond the bounds of the allocation. Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Use _XEatDataWords to avoid overflow of _XEatData calculationsAlan Coopersmith2013-05-041-1/+18
| | | | | | rep.length is a CARD32, so rep.length << 2 could overflow in 32-bit builds Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Fix gcc -Wwrite-strings warningAlan Coopersmith2011-11-101-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Strip trailing whitespaceAlan Coopersmith2011-09-161-3/+3
| | | | | | | Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Purge cvs tags.Jesse Adkins2010-10-061-2/+0
| | | | | Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Purge macros NEED_EVENTS and NEED_REPLIESFernando Carrijo2010-07-071-2/+0
| | | | | | Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* config: move CWARNFLAGS from configure.ac to Makefile.amGaetan Nadon2010-02-161-1/+3
| | | | | | | Compiler warning flags should be explicitly set in the makefile rather than being merged with other packages compiler flags. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Janitor: ansification, make distcheck, compiler warnings.Paulo Cesar Pereira de Andrade2009-01-291-6/+0
|
* Add Xinerama.h and panoramiXext.h to includedir.Peter Hutterer2008-05-191-1/+9
| | | | | | Were previously part of xineramaproto, but they really belong here. For a history of these files please refer to git://anongit.freedesktop.org/git/xorg/proto/xineramaproto
* Rename parameters to clarify QueryVersion/QueryExtension.Peter Hutterer2008-05-191-11/+11
| | | | | | | These parameters are not treated as input. Rename them to make the inner workings slightly more obvious. X.Org Bug 14511 <http://bugs.freedesktop.org/show_bug.cgi?id=14511>
* Bug #13660: XineramaQueryScreens() always modifies the 'number' outparameter.Adam Jackson2008-02-241-3/+2
| | | | This makes the code match the man page.
* Remove unneeded #include of <stdio.h>Alan Coopersmith2007-03-011-2/+0
|
* Clear sparse warnings & errorAlan Coopersmith2007-02-151-2/+3
| | | | | | Xinerama.c:56:5: warning: incorrect type in initializer (incompatible argument 1 (different types)) Xinerama.c:68:8: error: symbol 'close_display' redeclared with different type (originally declared at Xinerama.c:48) - incompatible argument 1 (different types) Xinerama.c:283:5: warning: Using plain integer as NULL pointer
* Add support for source code checkers such as sparse & lintAlan Coopersmith2007-02-151-0/+8
|
* renamed: .cvsignore -> .gitignoreAlan Coopersmith2006-07-131-0/+0
|
* Add check and cflags for malloc(0) returning NULL.Kevin E Martin2005-12-031-1/+1
|
* Do PKG_CHECK_MODULES on a unique token instead of on "DEP", so builds withAdam Jackson2005-08-031-2/+2
| | | | a global configure cache don't get confused.
* Set soversion to 1.0.0 using -version-number.Daniel Stone2005-07-161-1/+1
|
* Change version to 1.1.0 and soversion to 1.0.0.Daniel Stone2005-07-121-3/+1
|
* Add .cvsignore files Switch _la_CFLAGS for AM_CFLAGS to clean up directoryKeith Packard2005-07-091-0/+6
|
* lib/XScrnSaver/configure.acAlexander Gottwald2005-06-211-2/+3
| | | | | | | | | | | | | lib/XScrnSaver/src/Makefile.am lib/Xfontcache/configure.ac lib/Xfontcache/src/Makefile.am lib/Xinerama/configure.ac lib/Xinerama/src/Makefile.am lib/Xtst/configure.ac lib/Xv/configure.ac lib/XvMC/configure.ac lib/dmx/configure.ac Add missing xext.pc and xextproto.pc Add DEP_CFLAGS to src/Makefile.am
* util/modular/modularizelibrary.sh: use rm -f instead of rm in one placeSøren Sandmann Pedersen2005-06-101-0/+10
| | | | | util/modular/addbuild.sh: Make it much faster by adding all the files at once lib/Xinerama: check in the build system
* Merging XORG-CURRENT into trunksco_port_update-baserel-0-6-1lg3d-rel-0-7-0lg3d-rel-0-6-2lg3d-baseXORG-6_8_99_903XORG-6_8_99_902XORG-6_8_99_901XORG-6_8_99_900XORG-6_8_99_9XORG-6_8_99_8XORG-6_8_99_7XORG-6_8_99_6XORG-6_8_99_5XORG-6_8_99_4XORG-6_8_99_3XORG-6_8_99_2XORG-6_8_99_16XORG-6_8_99_15XORG-6_8_99_14XORG-6_8_99_13XORG-6_8_99_12XORG-6_8_99_11XORG-6_8_99_10XORG-6_8_99_1XORG-6_8_2XORG-6_8_1_904XORG-6_8_1_903XORG-6_8_1_902XORG-6_8_1_901XORG-6_8_1XORG-6_8_0XORG-6_7_99_904XORG-6_7_99_903XORG-6_7_99_902XORG-6_7_99_901XORG-6_7_99_2XORG-6_7_99_1XACE-SELINUX-MERGEsco_port_updatelg3d-masterlg3d-eventlg3d-dev-0-7-1lg3d-dev-0-7-0lg3d-dev-0-6-latestlg3d-dev-0-6-2lg3d-dev-0-6-1-latestlg3d-dev-0-6-1-currentlg3d-dev-0-6-1-1lg3d-dev-0-6-1lg3dXORG-6_8-branchCOMPOSITEWRAPEgbert Eich2004-04-231-1/+1
|
* Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich2004-03-141-1/+1
|
* Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0STSF-CURRENTEgbert Eich2004-03-031-1/+1
|
* readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich2004-02-261-1/+1
|
* Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich2004-02-261-1/+1
|
* Initial revisionXORG-STABLEKaleb Keithley2003-11-141-0/+319