aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Correct manpages: --help -> -helpMike DePaulo2015-06-282-2/+2
| | | | | | | | | | | | | | | xorg-server does not follow the convention of using 2 dashes. Note that --help does produce the help output. However, it produces this additional output after it: Error: Aborting session with 'Unrecognized option: --help'. Session: Aborting session at 'Sun Jun 28 01:35:35 2015'. Session: Session aborted at 'Sun Jun 28 01:35:35 2015'. It also causes a return code of 1 rather than 0. Therefore, we should instruct users to call -help instead.
* doc/examples/run-nxproxy2nxproxy-test: Create NX_COOKIE dynamically using ↵Mike Gabriel2015-06-251-3/+4
| | | | the mcookie tool.
* Merge branch 'sunweaver-pr/roll-tarball-fixes' into arctica-3.6.xMihai Moldovan2015-06-232-64/+356
|\ | | | | | | Attributes GH PR #44: https://github.com/ArcticaProject/nx-libs/pull/44
| * COPYING: Replace content with GPL-2 license text, because that is the ↵Mike Gabriel2015-06-231-56/+339
| | | | | | | | overall (i.e., strictest) license we have to deal with in nx-libs.
| * debian/roll-tarball.sh: Auto-generate ChangeLog from Git history.Mike Gabriel2015-06-231-0/+1
| |
| * debian/roll-tarball.sh: Rename README.md to README.NX-Development before ↵Mike Gabriel2015-06-231-0/+3
| | | | | | | | moving it into doc/ folder.
| * debian/roll-tarball.sh: Prevent several files/folders from ending up in ↵Mike Gabriel2015-06-231-4/+9
| | | | | | | | | | | | | | | | | | | | nx-libs-lite tarball. * bin/{nxagent,nxauth,x2goagent} * etc/ * doc/nx-X11_vs_XOrg69_patches * README.keystrokes" * nx-libs.spec
| * debian/roll-tarball.sh: Support tarring up the HEAD of the current branch.Mike Gabriel2015-06-231-2/+2
| |
| * debian/roll-tarball.sh: Allow patch files names having a dash next to the ↵Mike Gabriel2015-06-231-2/+2
|/ | | | four digits (i.e., 1234-<patchname>.<suffix>).
* Merge branch 'pr/anti-aliasing-rgba-crash' into 3.6.xMike Gabriel2015-06-231-3/+3
|\
| * Fix alpha premultiplication in XRenderParseColor.Emanuele Giaquinta2015-06-231-3/+3
|/ | | | | | | | | | | Due to C arithmetic conversion rules we must use an unsigned constant (or a cast) to perform the multiplication using unsigned arithmetic. Fixes ArcticaProject/nx-libs#55. Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Rebased against NX: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* Merge branch 'sunweaver-pr/libXx86FOO-cleanup' into arctica-3.6.xMihai Moldovan2015-06-2318-4987/+3
|\ | | | | | | Attributes GH PR #43: https://github.com/ArcticaProject/nx-libs/pull/43
| * library clean-up: Drop libXx86{misc,vm,dga} libraries. Not needed by nx-libs.Mike Gabriel2015-06-2218-4987/+3
|/
* Merge branch 'sunweaver-pr/libxf86rush-cleanup' into arctica-3.6.xMihai Moldovan2015-06-2212-792/+0
|\ | | | | | | Attributes GH PR #42: https://github.com/ArcticaProject/nx-libs/pull/42
| * library clean-up: Drop nx-X11/lib/Xxf86rush and references to libglide{2,3}. ↵Mike Gabriel2015-06-2112-792/+0
|/ | | | Unused in nx-libs.
* Merge branch 'sunweaver-pr/hw-driver-cleanup' into arctica-3.6.xMihai Moldovan2015-06-2116-2932/+14
|\ | | | | | | Attributes GH PR #41: https://github.com/ArcticaProject/nx-libs/pull/41
| * nx-X11/config/cf: Drop build-logic for all hardware drivers.Mike Gabriel2015-06-214-434/+0
| |
| * nx-X11/config/cf: Drop unnecessary xf86site.def, xf86.tmpl, xfree86.cf.Mike Gabriel2015-06-2113-2409/+14
| |
| * nx-X11/config/cf/Imakefile: Don't list non-present-anymore imake ↵Mike Gabriel2015-06-201-89/+0
|/ | | | configuration files.
* libgl clean-up, fix-up commitMike Gabriel2015-06-201-1/+1
|
* README.md: typo fixMike DePaulo2015-06-201-1/+1
|
* Merge pull request #52 from woglinde/3.6.xMike Gabriel2015-06-2010-1027/+0
|\ | | | | Library clean-up: Drop libxkbui, has been built previously but none of its symbols have been used in NX.
| * remove libxkbui, looks like it is not used anywhereHenning Heinold2015-06-2010-1027/+0
|/
* debian/control: Add Breaks:/Replaces: for qvd-libxcomp3 and qvd-nxproxy.Mike Gabriel2015-06-191-2/+6
|
* Merge branch 'sunweaver-pr/libglx-cleanup' into arctica-3.6.xMihai Moldovan2015-06-1673-4168/+59
|\ | | | | | | Attributes GH PR #40: https://github.com/ArcticaProject/nx-libs/pull/40
| * imake clean-up: Enforce build of Mesa GLX extension. Drop all other GLX ↵Mike Gabriel2015-06-1619-589/+29
| | | | | | | | build methods (built-in DRI drivers, etc.).
| * Drop unused / untested Xserver GLX extension support / build logic.Mike Gabriel2015-06-1613-208/+5
| | | | | | | | | | | | | | * MS Windows (non-tested) * Mac OS X (not provided) * SGISI / opengl (not provided) * DRI support (nxagent uses Mesa software emulation only)
| * Drop nx-X11/lib/GL and move Imakefile.inc include files into Xserver code tree.Mike Gabriel2015-06-1666-3371/+25
|/ | | | | | | | | | | | The client-side library libNX_GL.{a,so} is not built when building nx-libs. However, nx-X11/lib/GL/** ships several imake include files (Imakefile.inc) that are also used in nx-X11/programs/Xserver/GL/**. These files have been moved from the nx-X11/lib/GL/ code subtree to the nx-X11/programs/Xserver/GL/. Furthermore, we don't provide module builds of the GL extension anymore, as that feature is neither used in nx-libs.
* nxcomp/Loop.cpp: tiny whitespace fix. No functional change.Mihai Moldovan2015-06-161-1/+1
|
* Merge pull request #28 from theqvd/3.6.xMike Gabriel2015-06-161-1/+37
|\ | | | | Fix negotiation in stage 10 error.
| * Fix negotiation in stage 10 errorVadim Troshchinskiy2015-05-201-1/+37
| | | | | | | | | | Problem fixed by adding a select() call to implement a timeout, and retrying writes if needed.
* | Merge branch 'sunweaver-pr/libxres-cleanup' into arctica-3.6.xMihai Moldovan2015-06-0212-526/+2
|\ \ | | | | | | | | | Attributes GH PR #39: https://github.com/ArcticaProject/nx-libs/pull/39
| * | library clean-up: Don't compile (i.e., remove) libNX_Xres.a anymore. It is ↵Mike Gabriel2015-06-0212-526/+2
| | | | | | | | | | | | not used anywhere.
* | | debian/changelog: sync with master/3.5.0.x branch.Mihai Moldovan2015-06-021-0/+67
| | |
* | | Update README.md: Move more release goals to 3.6.x.Mike Gabriel2015-05-311-5/+6
| | | | | | | | | | | | * Unix file socket support -> 3.6.x * Embedding / re-parenting -> 3.6.x
* | | Merge pull request #46 from ArcticaProject/pr/Xext-cve-fixesMike Gabriel2015-05-311-0/+20
|\ \ \ | | | | | | | | Xext CVE fixes in XVideo extension.
| * | | Xv: unvalidated lengths in XVideo extension swapped procs [CVE-2014-8099]pr/Xext-cve-fixesAlan Coopersmith2015-05-301-0/+20
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | v2: backport to nx-libs 3.6.x (Mike DePaulo) v3: port to NXxvdisp.c rather than xvdisp.c (Mike DePaulo) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Conflicts: Xext/xvdisp.c
* | | Merge pull request #45 from ArcticaProject/pr/dix-cve-fixesMike Gabriel2015-05-312-1/+8
|\ \ \ | |/ / |/| | DIX CVE fixes in nx-X11/programs/Xserver/hw/nxagent/ rather than nx-X11/programs/Xserver/dix/.
| * | dix: Allow zero-height PutImage requests (fix for X.Org's CVE-2015-3418).pr/dix-cve-fixesKeith Packard2015-05-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The length checking code validates PutImage height and byte width by making sure that byte-width >= INT32_MAX / height. If height is zero, this generates a divide by zero exception. Allow zero height requests explicitly, bypassing the INT32_MAX check. Fix for regression introduced by fix for CVE-2014-8092. v2: backports to nx-libs 3.6.x (Mike Gabriel) v3: port to NXdispatch.c rather than dispatch.c (Mike DePaulo) Signed-off-by: Keith Packard <keithp@keithp.com>
| * | dix: integer overflow in ProcPutImage() [CVE-2014-8092 1/4]Alan Coopersmith2015-05-301-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ProcPutImage() calculates a length field from a width, left pad and depth specified by the client (if the specified format is XYPixmap). The calculations for the total amount of memory the server needs for the pixmap can overflow a 32-bit number, causing out-of-bounds memory writes on 32-bit systems (since the length is stored in a long int variable). v2: backport to nx-libs 3.6.x (Mike DePaulo) v3: port to NXdispatch.c rather than dispatch.c (Mike DePaulo) Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Conflicts: dix/dispatch.c
| * | Avoid use-after-free in dix/dixfonts.c: doImageText() [CVE-2013-4396] from ↵Mike DePaulo2015-05-301-0/+5
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | xorg/Xserver http://lists.x.org/archives/xorg-announce/2013-October/002332.html Save a pointer to the passed in closure structure before copying it and overwriting the *c pointer to point to our copy instead of the original. If we hit an error, once we free(c), reset c to point to the original structure before jumping to the cleanup code that references *c. Since one of the errors being checked for is whether the server was able to malloc(c->nChars * itemSize), the client can potentially pass a number of characters chosen to cause the malloc to fail and the error path to be taken, resulting in the read from freed memory. Since the memory is accessed almost immediately afterwards, and the X server is mostly single threaded, the odds of the free memory having invalid contents are low with most malloc implementations when not using memory debugging features, but some allocators will definitely overwrite the memory there, leading to a likely crash. v2: Apply to NXdixfonts.c rather than dixfonts.c (Mike DePaulo)
* | nxcomp/README.on-retroactive-DXPC-license: Some layout and interpunctuation ↵Mike Gabriel2015-05-291-1/+1
| | | | | | | | fixes.
* | nxcomp/Misc.cpp: fix build failure introduced in ↵Mihai Moldovan2015-05-281-3/+3
| | | | | | | | 1f44331574bdbe4069d13e4c26df18094b49e658.
* | Merge branch 'sunweaver-pr/DXPC-re-license-retroactively' into arctica-3.6.xMihai Moldovan2015-05-264-6/+4097
|\ \ | | | | | | | | | Attributes GH PR #31: https://github.com/ArcticaProject/nx-libs/pull/31
| * | Document retroactive re-licensing of the original DXPC code (closes #30).Mike Gabriel2015-05-264-6/+4097
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update nxcomp/LICENSE. * Add nxcomp/README.on-retroactive-DXPC-license, giving a short overview of the flow of discussions * Add "modified or unmodified" to the license information printed out to stdout in nxcomp/Misc.cpp * Fix copyright year (2006->2003) for Gian Filippo Pinzari (and move him to the GPL-2 section). * Add the complete .mbox file of Debian bug #748565.
* | | Merge pull request #36 from ArcticaProject/pr/render-cve-fixesMike Gabriel2015-05-261-2/+18
|\ \ \ | |/ / |/| | XRender CVE fixes for nxagent (X.Org CVE-2014-8100)
| * | render: unvalidated lengths in Render extn. swapped procs [CVE-2014-8100 2/2]pr/render-cve-fixesAlan Coopersmith2015-05-241-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | v2: backport to nx-libs 3.6.x (Mike DePaulo) v3: port to NXrender.c rather than render.c (Mike DePaulo) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Conflicts: render/render.c
| * | render: check request size before reading it [CVE-2014-8100 1/2]Julien Cristau2015-05-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise we may be reading outside of the client request. v2: backport to nx-libs 3.6.x (Mike DePaulo) v3: port to NXrender.c rather than render.c (Mike DePaulo) Signed-off-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Conflicts: render/render.c
* | | Merge branch 'sunweaver-pr/libxrandr-cleanup' into arctica-3.6.xMihai Moldovan2015-05-2529-2893/+32
|\ \ \ | | | | | | | | | | | | Attributes GH PR #21: https://github.com/ArcticaProject/nx-libs/pull/21
| * | | hw/nxagent clean-up: Drop NXrandr.{c|h} client lib copy-of-code from nxagent ↵Mike Gabriel2015-05-204-1033/+3
| | | | | | | | | | | | | | | | hardware driver.