summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-12-04 13:15:24 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-12-04 13:15:24 +0100
commitad58b9c8fbc6159a361d40d97decddb95758c0a7 (patch)
treedda71332b43cf665a284111b98053a6bc6aecf4a
parentc3f07d9dda55a993aebeb4fbb05f1d597de46eaa (diff)
parenta65f638523ec5d2c7b2b68bdaea174f5bd8b719f (diff)
downloadrsyslog-ad58b9c8fbc6159a361d40d97decddb95758c0a7.tar.gz
rsyslog-ad58b9c8fbc6159a361d40d97decddb95758c0a7.tar.xz
rsyslog-ad58b9c8fbc6159a361d40d97decddb95758c0a7.zip
Merge branch 'v4-beta' into v4-devel
Conflicts: ChangeLog
-rw-r--r--ChangeLog8
-rw-r--r--runtime/msg.c2
-rw-r--r--tools/syslogd.c1
3 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3659778f..7386ee38 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -21,12 +21,18 @@ Version 4.7.0 [v4-devel] (rgerhards), 2009-09-??
- bugfix (kind of): check if TCP connection is still alive if using TLS
Thanks to Jonathan Bond-Caron for the patch.
- imported changes from 4.5.7 and below
+- bugfix: potential segfault when -p command line option was used
+ Thanks for varmojfekoj for pointing me at this bug.
---------------------------------------------------------------------------
Version 4.5.7 [v4-beta] (rgerhards), 2009-11-18
- added a so-called "On Demand Debug" mode, in which debug output can
be generated only after the process has started, but not right from
the beginning. This is assumed to be useful for hard-to-find bugs.
Also improved the doc on the debug system.
+- bugfix (kind of): check if TCP connection is still alive if using TLS
+ Thanks to Jonathan Bond-Caron for the patch.
+- bugfix: hostname accidently set to IP address for some message sources,
+ for example imudp. Thanks to Anton for reporting this bug.
- bugfix [imported from 4.4.3]: $ActionExecOnlyOnceEveryInterval did
not work.
---------------------------------------------------------------------------
@@ -462,6 +468,8 @@ Version 3.22.2 [v3-stable] (rgerhards), 2009-07-??
in doc set (require TLS drivers)
- bugfix: $CreateDirs variable not properly initialized, default thus
was random (but most often "on")
+- bugfix: potential segfault when -p command line option was used
+ thanks to varmojfekoj for pointing me at this bug
---------------------------------------------------------------------------
Version 3.22.1 [v3-stable] (rgerhards), 2009-07-02
- bugfix: invalid error message issued if $inlcudeConfig was on an empty
diff --git a/runtime/msg.c b/runtime/msg.c
index 208ea77a..b45775b6 100644
--- a/runtime/msg.c
+++ b/runtime/msg.c
@@ -1908,7 +1908,7 @@ rsRetVal MsgSetRcvFromIPStr(msg_t *pThis, uchar *psz, int len, prop_t **ppProp)
assert(pThis != NULL);
CHKiRet(prop.CreateOrReuseStringProp(ppProp, psz, len));
- MsgSetRcvFrom(pThis, *ppProp);
+ MsgSetRcvFromIP(pThis, *ppProp);
finalize_it:
RETiRet;
diff --git a/tools/syslogd.c b/tools/syslogd.c
index 2806921c..17fcf9f3 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -3434,6 +3434,7 @@ int realMain(int argc, char **argv)
} else {
fprintf(stderr, "error -p is no longer supported, use module imuxsock instead");
}
+ break;
case 'q': /* add hostname if DNS resolving has failed */
*(net.pACLAddHostnameOnFail) = 1;
break;