xmlrpc-c/fixed-uninitialised-usage-of-buffer-attribute.patch
2008-02-26 21:27:37 +00:00

26 lines
705 B
Diff

From d18cb86d6512d374e8a42e046f82e6cc4ceb2c2a Mon Sep 17 00:00:00 2001
From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Date: Mon, 25 Feb 2008 17:53:27 +0100
Subject: [PATCH] fixed uninitialised usage of buffer attribute
---
src/cpp/base64.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/cpp/base64.cpp b/src/cpp/base64.cpp
index f9c0dac..1b34618 100644
--- a/src/cpp/base64.cpp
+++ b/src/cpp/base64.cpp
@@ -39,7 +39,7 @@ unsigned char const table_b2a_base64[] =
class bitBuffer {
public:
- bitBuffer() : bitsInBuffer(0) {};
+ bitBuffer() : buffer(0), bitsInBuffer(0) {};
void
shiftIn8Bits(unsigned char const newBits) {
--
1.5.4.1