summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-14 14:24:06 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-14 14:24:06 +0000
commit8ed721578eb76a475d2da99212227ef8b62eee2f (patch)
treebd03e068367a656e5c6a17e4da558318c13754d3
parent984faf8c2932fdbe67fe085a90eacca511a3d4b4 (diff)
downloadrsyslog-8ed721578eb76a475d2da99212227ef8b62eee2f.tar.gz
rsyslog-8ed721578eb76a475d2da99212227ef8b62eee2f.tar.xz
rsyslog-8ed721578eb76a475d2da99212227ef8b62eee2f.zip
bugfix: TCP and GSSAPI framing mode variable was uninitialized, leading to
wrong framing (caused, among others, interop problems)
-rw-r--r--plugins/omgssapi/omgssapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/omgssapi/omgssapi.c b/plugins/omgssapi/omgssapi.c
index dcc21dc5..a4fad9b8 100644
--- a/plugins/omgssapi/omgssapi.c
+++ b/plugins/omgssapi/omgssapi.c
@@ -465,7 +465,7 @@ BEGINparseSelectorAct
int error;
int bErr;
struct addrinfo hints, *res;
- TCPFRAMINGMODE tcp_framing;
+ TCPFRAMINGMODE tcp_framing = TCP_FRAMING_OCTET_STUFFING;
CODESTARTparseSelectorAct
CODE_STD_STRING_REQUESTparseSelectorAct(1)
/* first check if this config line is actually for us