Blame SOURCES/tigervnc-passwd-crash-with-malloc-checks.patch

55ccb6
diff --git a/common/rfb/util.h b/common/rfb/util.h
55ccb6
index b678b89..9e59bd3 100644
55ccb6
--- a/common/rfb/util.h
55ccb6
+++ b/common/rfb/util.h
55ccb6
@@ -50,7 +50,7 @@ namespace rfb {
55ccb6
     CharArray() : buf(0) {}
55ccb6
     CharArray(char* str) : buf(str) {} // note: assumes ownership
55ccb6
     CharArray(int len) {
55ccb6
-      buf = new char[len];
55ccb6
+      buf = new char[len]();
55ccb6
     }
55ccb6
     ~CharArray() {
55ccb6
       delete [] buf;