From 16e7328b4a366b29d54696aafffe62c92e0e0130 Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Sun, 19 Nov 2006 17:56:32 -0800 Subject: [PATCH] Bug #5958: zero out padding bytes in requests. --- src/c-client.xsl | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) 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" -- 2.34.1