ODROID-U3 xorg-server debian package fork :
[deb_xorg-server.git] / debian / patches / CVE-2014-8xxx / 0029-glx-Request-length-checks-for-SetClientInfoARB-CVE-2.patch
index 19ea8c6b1567be80115b7bef70b68e98757412ed..d57ff5904c7fd8389392f28c465d5057fd406347 100644 (file)
@@ -14,8 +14,6 @@ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
  glx/clientinfo.c |   19 ++++++++++++++-----
  1 file changed, 14 insertions(+), 5 deletions(-)
 
-diff --git a/glx/clientinfo.c b/glx/clientinfo.c
-index 4aaa4c9..c5fef30 100644
 --- a/glx/clientinfo.c
 +++ b/glx/clientinfo.c
 @@ -33,18 +33,21 @@ static int
@@ -45,7 +43,7 @@ index 4aaa4c9..c5fef30 100644
          return BadLength;
  
      /* Verify that the actual length of the GL extension string matches what's
-@@ -80,8 +83,11 @@ __glXDisp_SetClientInfoARB(__GLXclientState * cl, GLbyte * pc)
+@@ -80,8 +83,11 @@ __glXDisp_SetClientInfoARB(__GLXclientSt
  int
  __glXDispSwap_SetClientInfoARB(__GLXclientState * cl, GLbyte * pc)
  {
@@ -57,7 +55,7 @@ index 4aaa4c9..c5fef30 100644
      req->length = bswap_16(req->length);
      req->numVersions = bswap_32(req->numVersions);
      req->numGLExtensionBytes = bswap_32(req->numGLExtensionBytes);
-@@ -99,8 +105,11 @@ __glXDisp_SetClientInfo2ARB(__GLXclientState * cl, GLbyte * pc)
+@@ -99,8 +105,11 @@ __glXDisp_SetClientInfo2ARB(__GLXclientS
  int
  __glXDispSwap_SetClientInfo2ARB(__GLXclientState * cl, GLbyte * pc)
  {
@@ -69,6 +67,3 @@ index 4aaa4c9..c5fef30 100644
      req->length = bswap_16(req->length);
      req->numVersions = bswap_32(req->numVersions);
      req->numGLExtensionBytes = bswap_32(req->numGLExtensionBytes);
--- 
-1.7.9.2
-