<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel">
    <title>gmane.comp.freedesktop.xorg.devel</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35736"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35735"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35734"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35733"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35732"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35731"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35730"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35729"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35727"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35726"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35725"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35724"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35723"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35722"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35721"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35720"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35719"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35718"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35717"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35716"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35736">
    <title>Xhiv - testing Handling Invalid Values in X libraries</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35736</link>
    <description>&lt;pre&gt;So recently I was stuck trying to figure out how you would test what an
X client library would do if it received a response no X server should
ever send.   Most of our existing tests, like XTS, modify the client side
to send requests to unmodified X servers to see how they respond, but skip
testing how they handle invalid values returned from the X server.

I started considering making an X server extension to allow overriding the
normal responses, or modifying an X server to allow scripting responses to
send back, but those both seemed like larger and more complex solutions than
I wanted to tackle.  While I started feeling a bit stabby, I figured out it
wasn't that hard to just fork a process that fed X protocol responses back
to a client, improvising with the materials at hand to shove harmful contraband
into the protocol steam.   And thus was born "Xhiv", a quick and dirty test
suite for Handling Invalid Values:

http://cgit.freedesktop.org/~alanc/xhiv/
git://people.freedesktop.org/~alanc/xhiv

(I tend to&lt;/pre&gt;</description>
    <dc:creator>Alan Coopersmith</dc:creator>
    <dc:date>2013-05-25T17:15:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35735">
    <title>Re: X protocol specs &amp; X.Org Security Advisory: Protocol handlingissues in X Window System client libraries</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35735</link>
    <description>&lt;pre&gt;A tribute to your leadership. Not only you got the job done, but you go
it done by volunteers!
_______________________________________________
xorg-devel-go0+a7rfsptAfugRpC6u6w&amp;lt; at &amp;gt;public.gmane.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

&lt;/pre&gt;</description>
    <dc:creator>Gaetan Nadon</dc:creator>
    <dc:date>2013-05-25T16:48:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35734">
    <title>X protocol specs &amp; X.Org Security Advisory: Protocol handling issuesin X Window System client libraries</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35734</link>
    <description>&lt;pre&gt;
     [...] when reviewing these, a lot of them were non obvious unless you had
     the source in one window, the protocol headers in another and the protocol
     spec in a third. This was tedious work to cross-reference and confirm or
     refute each report [...]

which reminded me that huge thanks are also due to Matt &amp;amp; Gaetan and everyone
else who helped getting our documentation modernized.

As tedious as this work was, it was far better than if we had to page through
paper manuals or the old postscript dumps from the old nroff specs - having
html specs online with links to jump directly to the right call encoding or
description made it much faster to see which values could be large enough to
cause overflows, or what values we should be checking to limit the values to.

So once again, thanks for making our specs more usable!

&lt;/pre&gt;</description>
    <dc:creator>Alan Coopersmith</dc:creator>
    <dc:date>2013-05-25T03:24:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35733">
    <title>Re: [ANNOUNCE] X.Org Security Advisory: Protocol handling issues in XWindow System client libraries</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35733</link>
    <description>&lt;pre&gt;Hi,

On 23 May 2013 23:36, Alan Coopersmith &amp;lt;alan.coopersmith-QHcLZuEGTsvQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

Well, yes-ish.  To actually properly fix the problem, you'd have to go
back in time and stop SGI from encoding XKB into the Xlib ABI!
_______________________________________________
xorg-devel-go0+a7rfsptAfugRpC6u6w&amp;lt; at &amp;gt;public.gmane.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

&lt;/pre&gt;</description>
    <dc:creator>Daniel Stone</dc:creator>
    <dc:date>2013-05-24T08:10:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35732">
    <title>Re: [PULL unreviewed] touch fixes for #56578</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35732</link>
    <description>&lt;pre&gt;Hi,

I got some log spam from the "Abstract cursor refcounting" change and so
just commented it out...


--- ./dix/save_cursor.c 2013-05-24 07:01:07.905179181 +0100
+++ ./dix/cursor.c      2013-05-24 07:21:53.055169797 +0100
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -134,12 +134,12 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 CursorPtr
 RefCursor(CursorPtr cursor)
 {
-    ErrorF("%s ::::: cursor is %p", __func__, cursor);
+    /* ErrorF("%s ::::: cursor is %p", __func__, cursor); */
     if (cursor) {
         xorg_backtrace();
         cursor-&amp;gt;refcnt++;
     }
-    ErrorF("\n");
+    /* ErrorF("\n"); */
     return cursor;
 }

Thanks,
Colin


_______________________________________________
xorg-devel-go0+a7rfsptAfugRpC6u6w&amp;lt; at &amp;gt;public.gmane.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

&lt;/pre&gt;</description>
    <dc:creator>Colin Harrison</dc:creator>
    <dc:date>2013-05-24T06:50:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35731">
    <title>[PATCH] Multiple unvalidated patches in CVE-2013-1999</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35731</link>
    <description>&lt;pre&gt;From: Dave Airlie &amp;lt;airlied-H+wXaHxf7aLQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;

Al Viro pointed out that Debian started segfaulting in Xine for him,

Reported-by: Al Viro
Signed-off-by: Dave Airlie &amp;lt;airlied-H+wXaHxf7aLQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 src/XvMC.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/XvMC.c b/src/XvMC.c
index cb42487..74c8b85 100644
--- a/src/XvMC.c
+++ b/src/XvMC.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -585,15 +585,15 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; Status XvMCGetDRInfo(Display *dpy, XvPortID port,
 if (*name &amp;amp;&amp;amp; *busID &amp;amp;&amp;amp; tmpBuf) {
     _XRead(dpy, tmpBuf, realSize);
     strncpy(*name,tmpBuf,rep.nameLen);
-    name[rep.nameLen - 1] = '\0';
+    (*name)[rep.nameLen - 1] = '\0';
     strncpy(*busID,tmpBuf+rep.nameLen,rep.busIDLen);
-    busID[rep.busIDLen - 1] = '\0';
+    (*busID)[rep.busIDLen - 1] = '\0';
     XFree(tmpBuf);
 } else {
     XFree(*name);
     *name = NULL;
     XFree(*busID);
-    *name = NULL;
+    *busID = NULL;
     XFree(tmpBuf);
 
     _XEatDataWords(dpy, rep.length);
&lt;/pre&gt;</description>
    <dc:creator>Dave Airlie</dc:creator>
    <dc:date>2013-05-24T04:50:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35730">
    <title>XvMC regression due to security patch</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35730</link>
    <description>&lt;pre&gt;Al Viro pinged me about this, any distro that pushed out the libXvMC patches
has broken Xine!

Dave.

_______________________________________________
xorg-devel-go0+a7rfsptAfugRpC6u6w&amp;lt; at &amp;gt;public.gmane.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

&lt;/pre&gt;</description>
    <dc:creator>Dave Airlie</dc:creator>
    <dc:date>2013-05-24T04:50:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35729">
    <title>Plans for X library releases</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35729</link>
    <description>&lt;pre&gt;Patches are fine, but releases are easier to package, especially with
as many Xlib patches as we put forth today.

So if everyone could be testing the current git masters and reporting
any issues found (and hopefully the tinderboxes will do so as well),
then we'll be less likely to put out immediate brown-bag re-releases.

I've just pushed a RC of Xlib 1.6 out, and as mentioned in its announcement,
unless any blockers turn up, plan to push out 1.6.0 final in the first week
of June.

For the rest of the libraries, I'm not planning on any RC's, just testing
of git, and then final releases next week (since Monday is a US holiday,
that's Tuesday May 28 - Friday May 31).

Releases I plan to make next week from the current git master branches:

libdmx 1.1.3
libFS 1.0.5
libXcursor 1.1.14
libXext 1.3.2
libXfixes 5.0.1
libXinerama 1.1.3
libXp 1.0.2
libXrandr 1.4.1
libXrender 0.9.8
libXt 1.1.4
libXtst 1.2.1
libXv 1.0.8
libXvMC 1.0.8
libXxf86dga 1.1.4
libXxf86vm 1.1.3

Releases I plan to make next week from non-master &lt;/pre&gt;</description>
    <dc:creator>Alan Coopersmith</dc:creator>
    <dc:date>2013-05-24T03:14:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35727">
    <title>Re: [ANNOUNCE] X.Org Security Advisory: Protocol handling issuesin X Window System client libraries</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35727</link>
    <description>&lt;pre&gt;
BTW, I see that Ilja also mentioned these (without giving full details
on the holes) in his recent CanSecWest talk, which is an interesting
read:

http://cansecwest.com/slides/2013/Assessing%20the%20Linux%20Desktop%20Security%20-%20Ilja%20van%20Sprundel.ppt

I still agree with most of my quotes that got captured there, including the one
blaming daniels for not saving us from all manner of XKB woes.   (I know, XKB2
would fix it all, if only the laptop was returned by the thief we all curse.)

&lt;/pre&gt;</description>
    <dc:creator>Alan Coopersmith</dc:creator>
    <dc:date>2013-05-23T22:36:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35726">
    <title>Re: [stable pull req] cherry-pick VT switch and setdesired mode fixes</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35726</link>
    <description>&lt;pre&gt;Merged.

a11cf8d..348de79  server-1.14-branch -&amp;gt; server-1.14-branch


Peter, yours should be in there as well.

Matt


On 05/08/2013 11:12 PM, Matt Dew wrote:
_______________________________________________
xorg-devel-go0+a7rfsptAfugRpC6u6w&amp;lt; at &amp;gt;public.gmane.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

&lt;/pre&gt;</description>
    <dc:creator>Matt Dew</dc:creator>
    <dc:date>2013-05-23T21:19:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35725">
    <title>Re: followup for libX11 XKB security fixes</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35725</link>
    <description>&lt;pre&gt;
Seems right to me too.

Acked-by: Daniel Stone &amp;lt;daniel-rLtY4a/8tF1rovVCs/uTlw&amp;lt; at &amp;gt;public.gmane.org&amp;gt;

_______________________________________________
xorg-devel-go0+a7rfsptAfugRpC6u6w&amp;lt; at &amp;gt;public.gmane.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

&lt;/pre&gt;</description>
    <dc:creator>Daniel Stone</dc:creator>
    <dc:date>2013-05-23T18:51:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35724">
    <title>Re: followup for libX11 XKB security fixes</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35724</link>
    <description>&lt;pre&gt;I'd originally coded all the checks for xkb-&amp;gt;max_key_code, then in testing
found that because Xlib accesses the xkb-&amp;gt;max_key_code'th entry of the array,
it needed to be xkb-&amp;gt;max_key_code + 1, and I updated the checks - I guess I
missed those two.   Sorry about that.

Reviewed-by: Alan Coopersmith &amp;lt;alan.coopersmith-QHcLZuEGTsvQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;

On 05/23/13 10:26 AM, Julien Cristau wrote:


&lt;/pre&gt;</description>
    <dc:creator>Alan Coopersmith</dc:creator>
    <dc:date>2013-05-23T18:33:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35723">
    <title>followup for libX11 XKB security fixes</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35723</link>
    <description>&lt;pre&gt;Hi,

I noticed some inconsistencies in the XKB security changes in Xlib.
Resending to the public list now that the embargo is lifted.

Here's another change I think is necessary:

diff --git a/src/xkb/XKBGetMap.c b/src/xkb/XKBGetMap.c
index 0875dfd..c73e655 100644
--- a/src/xkb/XKBGetMap.c
+++ b/src/xkb/XKBGetMap.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -426,7 +426,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; XkbServerMapPtrsrv;
 
     if ( rep-&amp;gt;totalVModMapKeys&amp;gt;0 ) {
 if (((int) rep-&amp;gt;firstVModMapKey + rep-&amp;gt;nVModMapKeys)
-     &amp;gt; xkb-&amp;gt;max_key_code)
+     &amp;gt; xkb-&amp;gt;max_key_code + 1)
     return BadLength;
 if (((xkb-&amp;gt;server==NULL)||(xkb-&amp;gt;server-&amp;gt;vmodmap==NULL))&amp;amp;&amp;amp;
     (XkbAllocServerMap(xkb,XkbVirtualModMapMask,0)!=Success)) {
diff --git a/src/xkb/XKBNames.c b/src/xkb/XKBNames.c
index 6faef02..6df7406 100644
--- a/src/xkb/XKBNames.c
+++ b/src/xkb/XKBNames.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -180,7 +180,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; _XkbReadGetNamesReply(Display *dpy,
     nKeys= xkb-&amp;gt;max_key_code+1;
     names-&amp;gt;keys= _XkbTypedCalloc(nKeys,XkbKeyNameRec);
 }
-else if ( ((int)rep-&amp;gt;firstKey + rep-&amp;gt;nKeys) &amp;gt; xkb-&amp;gt;max_key_code)
+if &lt;/pre&gt;</description>
    <dc:creator>Julien Cristau</dc:creator>
    <dc:date>2013-05-23T17:26:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35722">
    <title>Re: [PULL unreviewed] scaling, valuator initialization</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35722</link>
    <description>&lt;pre&gt;


I've gone ahead and merged these; the patches do what they say on the
box, I got stuck trying to figure out if that was actually what we
wanted though...

   2ccb9fb..7205888  master -&amp;gt; master

&lt;/pre&gt;</description>
    <dc:creator>Keith Packard</dc:creator>
    <dc:date>2013-05-23T16:43:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35721">
    <title>Re: [PULL unreviewed] touch fixes for #56578</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35721</link>
    <description>&lt;pre&gt;

Agreed. I've read through them a couple of times and still don't feel
like I understand the code well enough to review it myself.


Merged.
   891123c..2ccb9fb  master -&amp;gt; master

&lt;/pre&gt;</description>
    <dc:creator>Keith Packard</dc:creator>
    <dc:date>2013-05-23T16:41:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35720">
    <title>Re: [PULL] Xephyr man page fixes</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35720</link>
    <description>&lt;pre&gt;

Merged.
   7e97166..891123c  master -&amp;gt; master

&lt;/pre&gt;</description>
    <dc:creator>Keith Packard</dc:creator>
    <dc:date>2013-05-23T16:30:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35719">
    <title>[PATCH 3/5] Xephyr: integer overflow inephyrHostGLXGetStringFromServer()</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35719</link>
    <description>&lt;pre&gt;reply.length &amp;amp; reply.size are CARD32s and need to be bounds checked before
multiplying or adding to come up with the total size to allocate, to avoid
integer overflow leading to underallocation and writing data from the
network past the end of the allocated buffer.

Reported-by: Ilja Van Sprundel &amp;lt;ivansprundel-zvaqeIZJvw5Wk0Htik3J/w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
Signed-off-by: Alan Coopersmith &amp;lt;alan.coopersmith-QHcLZuEGTsvQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 hw/kdrive/ephyr/ephyrhostglx.c |   40 +++++++++++++++++++++++-----------------
 1 file changed, 23 insertions(+), 17 deletions(-)

diff --git a/hw/kdrive/ephyr/ephyrhostglx.c b/hw/kdrive/ephyr/ephyrhostglx.c
index 5c6c40f..2327fc0 100644
--- a/hw/kdrive/ephyr/ephyrhostglx.c
+++ b/hw/kdrive/ephyr/ephyrhostglx.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -169,7 +169,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; ephyrHostGLXGetStringFromServer(int a_screen_number,
     int default_screen = DefaultScreen(dpy);
     xGLXGenericGetStringReq *req = NULL;
     xGLXSingleReply reply;
-    int length = 0, numbytes = 0, major_opcode = 0, get_string_op = 0;
+&lt;/pre&gt;</description>
    <dc:creator>Alan Coopersmith</dc:creator>
    <dc:date>2013-05-23T16:27:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35718">
    <title>[PATCH 5/5] Xephyr: integer overflow in XF86DRIGetClientDriverName()</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35718</link>
    <description>&lt;pre&gt;clientDriverNameLength is a CARD32 and needs to be bounds checked before
adding one to it to come up with the total size to allocate, to avoid
integer overflow leading to underallocation and writing data from the
network past the end of the allocated buffer.

Reported-by: Ilja Van Sprundel &amp;lt;ivansprundel-zvaqeIZJvw5Wk0Htik3J/w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
Signed-off-by: Alan Coopersmith &amp;lt;alan.coopersmith-QHcLZuEGTsvQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 hw/kdrive/ephyr/XF86dri.c |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/hw/kdrive/ephyr/XF86dri.c b/hw/kdrive/ephyr/XF86dri.c
index b1f070e..6a4c6c5 100644
--- a/hw/kdrive/ephyr/XF86dri.c
+++ b/hw/kdrive/ephyr/XF86dri.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -327,9 +327,11 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; XF86DRIGetClientDriverName(Display * dpy, int screen,
     *ddxDriverPatchVersion = rep.ddxDriverPatchVersion;
 
     if (rep.length) {
-        if (!
-            (*clientDriverName =
-             (char *) calloc(rep.clientDriverNameLength + 1, 1))) {
+        if (rep.clientDriverNameLength &amp;lt; INT_MAX)
+ &lt;/pre&gt;</description>
    <dc:creator>Alan Coopersmith</dc:creator>
    <dc:date>2013-05-23T16:27:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35717">
    <title>[PATCH 4/5] Xephyr: integer overflow in XF86DRIOpenConnection()</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35717</link>
    <description>&lt;pre&gt;busIdStringLength is a CARD32 and needs to be bounds checked before adding
one to it to come up with the total size to allocate, to avoid integer
overflow leading to underallocation and writing data from the network past
the end of the allocated buffer.

Reported-by: Ilja Van Sprundel &amp;lt;ivansprundel-zvaqeIZJvw5Wk0Htik3J/w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
Signed-off-by: Alan Coopersmith &amp;lt;alan.coopersmith-QHcLZuEGTsvQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 hw/kdrive/ephyr/XF86dri.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/hw/kdrive/ephyr/XF86dri.c b/hw/kdrive/ephyr/XF86dri.c
index 9d742f3..b1f070e 100644
--- a/hw/kdrive/ephyr/XF86dri.c
+++ b/hw/kdrive/ephyr/XF86dri.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -225,7 +225,11 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; XF86DRIOpenConnection(Display * dpy, int screen,
     }
 
     if (rep.length) {
-        if (!(*busIdString = (char *) calloc(rep.busIdStringLength + 1, 1))) {
+        if (rep.busIdStringLength &amp;lt; INT_MAX)
+            *busIdString = calloc(rep.busIdStringLength + 1, 1);
+        else
+            *busIdString = &lt;/pre&gt;</description>
    <dc:creator>Alan Coopersmith</dc:creator>
    <dc:date>2013-05-23T16:27:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35716">
    <title>[PATCH 1/5] Xdmx: integer overflow in GetGLXVisualConfigs()</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35716</link>
    <description>&lt;pre&gt;numVisuals &amp;amp; numProps are both CARD32 and need to be bounds checked before
multiplying by structure sizes to come up with the total size to allocate,
to avoid integer overflow leading to underallocation and writing data from
the network past the end of the allocated buffer.

Reported-by: Ilja Van Sprundel &amp;lt;ivansprundel-zvaqeIZJvw5Wk0Htik3J/w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
Signed-off-by: Alan Coopersmith &amp;lt;alan.coopersmith-QHcLZuEGTsvQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 hw/dmx/dmx_glxvisuals.c |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/hw/dmx/dmx_glxvisuals.c b/hw/dmx/dmx_glxvisuals.c
index f903b74..027557a 100644
--- a/hw/dmx/dmx_glxvisuals.c
+++ b/hw/dmx/dmx_glxvisuals.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -37,6 +37,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #include &amp;lt;GL/glxproto.h&amp;gt;
 #include &amp;lt;X11/extensions/Xext.h&amp;gt;
 #include &amp;lt;X11/extensions/extutil.h&amp;gt;
+#include &amp;lt;limits.h&amp;gt;
 
 #include "dmx_glxvisuals.h"
 
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -84,7 +85,10 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; GetGLXVisualConfigs(Display * dpy, int screen, int *nconfigs)
         SyncHandle();
         return NULL;
     }
-    props = (I&lt;/pre&gt;</description>
    <dc:creator>Alan Coopersmith</dc:creator>
    <dc:date>2013-05-23T16:27:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35715">
    <title>[PATCH 0/5] integer overflows in Xdmx &amp; Xephyr</title>
    <link>http://permalink.gmane.org/gmane.comp.freedesktop.xorg.devel/35715</link>
    <description>&lt;pre&gt;As part of the report of the security bugs announced this morning, the same
researcher also reported similar issues in the client-side GLX &amp;amp; DRI code in
the Xdmx &amp;amp; Xephyr X servers.   Since these are not normally installed setuid
or otherwise with higher privileges than the underlying X servers that they
connect to, the X.Org security team agreed to treat these as simple bug fixes,
not security issues.

These are candidates for stable releases as they do fix server crashes, but
only in rare cases when malformed protocol is sent by the X server they 
display onto.

Alan Coopersmith (5):
  Xdmx: integer overflow in GetGLXVisualConfigs()
  Xdmx: integer overflow in GetGLXFBConfigs()
  Xephyr: integer overflow in ephyrHostGLXGetStringFromServer()
  Xephyr: integer overflow in XF86DRIOpenConnection()
  Xephyr: integer overflow in XF86DRIGetClientDriverName()

 hw/dmx/dmx_glxvisuals.c        |   25 +++++++++++++++++--------
 hw/kdrive/ephyr/XF86dri.c      |   14 ++++++++++----
 hw/kdrive/ephyr/ephyrhostglx.c |   4&lt;/pre&gt;</description>
    <dc:creator>Alan Coopersmith</dc:creator>
    <dc:date>2013-05-23T16:27:25</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.freedesktop.xorg.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.freedesktop.xorg.devel</link>
  </textinput>
</rdf:RDF>
