From: Jamey Sharp Date: Mon, 20 Nov 2006 01:56:32 +0000 (-0800) Subject: Bug #5958: zero out padding bytes in requests. X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16e7328b4a366b29d54696aafffe62c92e0e0130;p=free-sw%2Fxcb%2Flibxcb Bug #5958: zero out padding bytes in requests. --- diff --git a/src/c-client.xsl b/src/c-client.xsl index d5d2b35..0f7c025 100644 --- a/src/c-client.xsl +++ b/src/c-client.xsl @@ -47,6 +47,8 @@ authorization from the authors. + + @@ -720,7 +722,7 @@ authorization from the authors. xcb_out; - @@ -779,6 +781,14 @@ authorization from the authors. + + + + xcb_out.pad = 0; + memset(xcb_out.pad, 0, ); + + + @@ -1013,7 +1023,10 @@ authorization from the authors. - + + +#include <string.h> + #include <assert.h> #include "xcbext.h" #include ".h"