ultrabug    15/03/26 15:17:05

  Added:                50-rsyslog-run-queue-persist-test-only-once.patch
                        50-rsyslog-fix-size-based-legacy-config-statements.patch
  Log:
  stable fixes thx to Thomas D. drop old
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
B658FA13)

Revision  Changes    Path
1.1                  
app-admin/rsyslog/files/8-stable/50-rsyslog-run-queue-persist-test-only-once.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/rsyslog/files/8-stable/50-rsyslog-run-queue-persist-test-only-once.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/rsyslog/files/8-stable/50-rsyslog-run-queue-persist-test-only-once.patch?rev=1.1&content-type=text/plain

Index: 50-rsyslog-run-queue-persist-test-only-once.patch
===================================================================
>From 31a5edc9be63de42f68825ff8e4d683534664a68 Mon Sep 17 00:00:00 2001
From: Thomas D.
Date: Sun, 8 Mar 2015 21:05:03 +0100
Subject: [PATCH] tests: Run queue-persist.sh only once

queue-persist.sh was called twice in Makefile.
---
 tests/Makefile.am | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 7575b84..9824e7e 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -83,7 +83,6 @@ TESTS +=  \
        imuxsock_logger_root.sh \
        imuxsock_traillf_root.sh \
        imuxsock_ccmiddle_root.sh \
-       queue-persist.sh \
        discard-rptdmsg.sh \
        discard-allmark.sh \
        discard.sh \



1.1                  
app-admin/rsyslog/files/8-stable/50-rsyslog-fix-size-based-legacy-config-statements.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/rsyslog/files/8-stable/50-rsyslog-fix-size-based-legacy-config-statements.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/rsyslog/files/8-stable/50-rsyslog-fix-size-based-legacy-config-statements.patch?rev=1.1&content-type=text/plain

Index: 50-rsyslog-fix-size-based-legacy-config-statements.patch
===================================================================
>From 3b7bd0b7a7f0f5f1bf7609bdf34e7d9a32608ea6 Mon Sep 17 00:00:00 2001
From: Rainer Gerhards <[email protected]>
Date: Tue, 17 Mar 2015 11:50:06 +0100
Subject: [PATCH] bugfix: size-based legacy config statements did not work
 properly

on some platforms they misadressed memory, which could also lead
to a segfault on startup. The problem is NOT experience on amd686
in 64bit builds -- that's probably the reason this bug was uncovered
very late. We assume, it's present in all v8 versions.

Thanks to Michael Biebl for alerting us of it.

closes https://github.com/rsyslog/rsyslog/issues/270
---
 runtime/cfsysline.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtime/cfsysline.c b/runtime/cfsysline.c
index 36d4679..b441a48 100644
--- a/runtime/cfsysline.c
+++ b/runtime/cfsysline.c
@@ -161,7 +161,7 @@ static rsRetVal parseIntVal(uchar **pp, int64 *pVal)
  * param value must be int64!
  * rgerhards, 2008-01-09
  */
-static rsRetVal doGetSize(uchar **pp, rsRetVal (*pSetHdlr)(void*, uid_t), void 
*pVal)
+static rsRetVal doGetSize(uchar **pp, rsRetVal (*pSetHdlr)(void*, int64), void 
*pVal)
 {
        DEFiRet;
        int64 i;




Reply via email to