[PATCH 18/25] [libx11] Using uninitialized value "error.resourceID" in call to function "_XError"

Erkki Seppälä erkki.seppala at vincit.fi
Mon Jan 31 03:07:25 PST 2011


Reviewed-by: Erkki Seppälä <erkki.seppala at vincit.fi>
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira at nokia.com>
Signed-off-by: Erkki Seppälä <erkki.seppala at vincit.fi>
---
 src/GetProp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/GetProp.c b/src/GetProp.c
index a80c19c..5d6e0b8 100644
--- a/src/GetProp.c
+++ b/src/GetProp.c
@@ -46,7 +46,7 @@ XGetWindowProperty(
 {
     xGetPropertyReply reply;
     register xGetPropertyReq *req;
-    xError error;
+    xError error = {0};
 
     LockDisplay(dpy);
     GetReq (GetProperty, req);
-- 
1.7.0.4



More information about the xorg-devel mailing list