Add a patch to fix the storage size for a configuration option
This commit is contained in:
parent
ee59aa4b81
commit
6f66b29841
27
rsyslog-8.10.0-imfile-maxlinesatonce.patch
Normal file
27
rsyslog-8.10.0-imfile-maxlinesatonce.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
From 20912054d062137a35a82962db7e53e1de2b819d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tomas Heinrich <theinric@redhat.com>
|
||||||
|
Date: Tue, 23 Jun 2015 13:48:43 +0200
|
||||||
|
Subject: [PATCH 3/4] imfile: fix type overflow
|
||||||
|
|
||||||
|
Data type of a configuration variable wasn't big enough for
|
||||||
|
eCmdHdlrSize.
|
||||||
|
---
|
||||||
|
plugins/imfile/imfile.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c
|
||||||
|
index e3d0884..7e5ec62 100644
|
||||||
|
--- a/plugins/imfile/imfile.c
|
||||||
|
+++ b/plugins/imfile/imfile.c
|
||||||
|
@@ -128,7 +128,7 @@ static struct configSettings_s {
|
||||||
|
int iFacility; /* local0 */
|
||||||
|
int iSeverity; /* notice, as of rfc 3164 */
|
||||||
|
int readMode; /* mode to use for ReadMultiLine call */
|
||||||
|
- int maxLinesAtOnce; /* how many lines to process in a row? */
|
||||||
|
+ int64 maxLinesAtOnce; /* how many lines to process in a row? */
|
||||||
|
ruleset_t *pBindRuleset; /* ruleset to bind listener to (use system default if unspecified) */
|
||||||
|
} cs;
|
||||||
|
|
||||||
|
--
|
||||||
|
1.9.3
|
||||||
|
|
@ -30,6 +30,8 @@ Patch2: rsyslog-8.8.0-missing-test-data.patch
|
|||||||
Patch3: rsyslog-8.10.0-imjournal-empty-messages.patch
|
Patch3: rsyslog-8.10.0-imjournal-empty-messages.patch
|
||||||
# https://github.com/rsyslog/rsyslog/pull/413
|
# https://github.com/rsyslog/rsyslog/pull/413
|
||||||
Patch4: rsyslog-8.10.0-resetconfigvariables.patch
|
Patch4: rsyslog-8.10.0-resetconfigvariables.patch
|
||||||
|
# https://github.com/rsyslog/rsyslog/pull/391
|
||||||
|
Patch5: rsyslog-8.10.0-imfile-maxlinesatonce.patch
|
||||||
|
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
@ -257,6 +259,7 @@ mv build doc
|
|||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
|
%patch5 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch sparc64
|
%ifarch sparc64
|
||||||
@ -518,6 +521,7 @@ done
|
|||||||
resolves: rhbz#1224538
|
resolves: rhbz#1224538
|
||||||
- add a patch to fix several default parameters for message queues
|
- add a patch to fix several default parameters for message queues
|
||||||
resolves: rhbz#1205696
|
resolves: rhbz#1205696
|
||||||
|
- add a patch to fix the storage size for a configuration option
|
||||||
|
|
||||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.8.0-4
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.8.0-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user