11508 Commits

Author SHA1 Message Date
Rainer Gerhards
60593593ea
Merge pull request #2153 from rgerhards/no-legacy-config
another set of coverity scan "fixes"
2017-12-02 13:17:57 +01:00
Rainer Gerhards
0f1e00c0a3
Merge pull request #2149 from rgerhards/coverity-2
"fix" Coverity scan false positive CID 184415
2017-12-02 12:47:29 +01:00
Rainer Gerhards
8aa05c18bf omczmq: "fix" Coverity scan false positive CID 185431 2017-12-02 12:11:34 +01:00
Rainer Gerhards
04220bdd3f omhttpfs: "fix" Coverity scan false positive CID 185398 2017-12-02 12:08:34 +01:00
Rainer Gerhards
e4e6fab23f "fix" Coverity scan false positive CID 184415 2017-12-02 10:33:09 +01:00
Rainer Gerhards
f2cda9d3bf
Merge pull request #2148 from rgerhards/more-bsd-tests
testbench: enable more tests on BSD
2017-12-02 10:32:32 +01:00
Rainer Gerhards
e6ea9a1ac6 testbench: enable more tests on BSD
... by fixing command lines that are not valid under BSD.
2017-12-02 10:32:01 +01:00
Rainer Gerhards
25c3ca3579
Merge pull request #2152 from deoren/contributing-typo-fix
Misc typo fixes to the CONTRIBUTING doc
2017-12-02 09:55:30 +01:00
Deoren Moor
caf178e985
Misc typo fixes to the CONTRIBUTING doc 2017-12-02 01:27:16 -06:00
Rainer Gerhards
1a78bf6428
Merge pull request #2147 from deoren/imuxsock-comment-fix
Fix module name in pInputName comment
2017-12-01 19:04:13 +01:00
Deoren Moor
5543aab1ee
Fix module name in pInputName comment
Unless I misunderstand, the comment contains a reference to a different module than this one (perhaps a bad copy/paste/modify operation).
2017-12-01 08:29:10 -06:00
Rainer Gerhards
0265b8a8a3 maintain ChangeLog 2017-12-01 12:52:13 +01:00
7508010750 Basic Imfile FEN API support for Solaris (#2141)
imfile: Initial implementation of solaris FEN API (without wildcards)

FEN API is used to implement simular event based file
monitoring like with inotify.

This commit provides partial functionality. It supports event-driven
processing of files but does not yet provide wildcard functionality.
Wildscards will be provided by a later commit.

This can be committed as-is because the previous code did also
not provide wildcard support, so this is an improvement for
Solaris in any case.

see also https://github.com/rsyslog/rsyslog/issues/1954
2017-12-01 12:49:38 +01:00
Rainer Gerhards
3754bb914c
Merge pull request #2144 from rgerhards/coverity
"Fix" Coverity scan cosmetic issues
2017-12-01 11:26:02 +01:00
Rainer Gerhards
82c66a4b0b "fix" Coverity scan cosmetic issue CID 185430 2017-12-01 08:59:03 +01:00
Rainer Gerhards
0c5b7a42b5 omhttpfs: better error handling for invalid legacy statement use
Detected by Coverity scan, CID 185398
2017-12-01 08:44:03 +01:00
Rainer Gerhards
cc8d57b09f "fix" Coverity scan cosmetic nits 2017-12-01 08:43:31 +01:00
Rainer Gerhards
3a8d71961d lookup: "fix" cosmetic Coverity issue CID 185371 2017-12-01 08:17:57 +01:00
Rainer Gerhards
f98c3e20d5
Merge pull request #2139 from rgerhards/enforce-libsystemd
build system: add capability to required libsystemd
2017-11-30 12:29:22 +01:00
Rainer Gerhards
a5d4e121ea
Merge pull request #2137 from rgerhards/better-v-output
add info if compiled with libsystemd to rsyslogd -v output
2017-11-30 12:29:08 +01:00
Rainer Gerhards
d05dd437fd maintain ChangeLog 2017-11-30 10:42:43 +01:00
Rainer Gerhards
58ff19b2f5 add info if compiled with libsystemd to rsyslogd -v output 2017-11-30 10:07:46 +01:00
Rainer Gerhards
9d0d8101fd
Merge pull request #2136 from rgerhards/coverity-4
Coverity scan "fixes"
2017-11-30 09:18:25 +01:00
Rainer Gerhards
80bd3666fc build system: add capability to required libsystemd
and fail if it cannot be found. This is needed to ensure that builds
for platforms that actually need it succeed.

see also https://github.com/rsyslog/rsyslog/issues/2134
2017-11-30 09:12:57 +01:00
Rainer Gerhards
c3b48d708a iminternal: refactor to fix cosmetic Coverity scan CID 185435 2017-11-30 08:19:14 +01:00
Rainer Gerhards
56014d3fe4 "fix" Coverity scan false positives 2017-11-30 08:19:14 +01:00
Rainer Gerhards
43bb848707
Merge pull request #2130 from rgerhards/i-2102
ensure gcc-7 can be used without problems for building rsyslog
2017-11-29 16:08:42 +01:00
Rainer Gerhards
262a85aabe pmnormalize: remove unsave "strcat" implementation
see also https://github.com/rsyslog/rsyslog/issues/2133
2017-11-29 12:39:07 +01:00
Rainer Gerhards
9bd7608f92 fix build warnings from debug subsystem 2017-11-29 12:39:07 +01:00
Rainer Gerhards
546b6010db mmsnmptrapd: fix potential misadressing
Detected by clang static analyzer.
2017-11-29 12:39:07 +01:00
Rainer Gerhards
bc2cc8feb2 mmsnmptrapd: fix potential NULL pointer use
Deteced by clang static analyzer
2017-11-29 12:39:07 +01:00
Rainer Gerhards
e447300569 mmgrok: fix gcc-7 build problem 2017-11-29 12:39:07 +01:00
Rainer Gerhards
e4bdd0d73b omtcl: work around gcc-7 build issues 2017-11-29 12:39:07 +01:00
Rainer Gerhards
1e7cc7c864 mmsnmptrapd: update to newer-style interfacer
this also solves potentially unclean code
2017-11-29 12:39:07 +01:00
Rainer Gerhards
38e9bcf5b0 omamqp1: work around gcc-7 build issues 2017-11-29 12:39:07 +01:00
Rainer Gerhards
1bb9aa4c38 work around flex/bison problems with gcc-7 2017-11-29 12:39:07 +01:00
Rainer Gerhards
8d8abf2d9b travis: enable gcc-7 with high warning levels
see also https://github.com/rsyslog/rsyslog/pull/2121
2017-11-29 12:39:07 +01:00
Rainer Gerhards
f1a27b6e13
Merge pull request #2131 from rgerhards/coverity-3
"fix" some Coverity scan false positives
2017-11-29 12:27:42 +01:00
Rainer Gerhards
ad9a247146 "fix" some Coverity scan false positives 2017-11-29 08:11:23 +01:00
Rainer Gerhards
7bf280e9aa prepare for new development cycle 2017-11-28 10:06:09 +01:00
Rainer Gerhards
c4f7ac1480
Merge pull request #2129 from allanpark/Issue-2090-lmsig_ksils12_libksi_async_mode
BUGFIX: fixing regression bugs introduced by PR 2117
2017-11-28 09:42:50 +01:00
Allan Park
c802e29593 BUGFIX: fixing regression bugs introduxed by PR 2117 (reported by coverity) 2017-11-28 09:43:35 +02:00
Rainer Gerhards
da01aae879
Merge pull request #2126 from mrworkman/rscript-parse-time-fix
Fix to work on systems where Python 3.x is the default.
2017-11-28 08:07:39 +01:00
Rainer Gerhards
471f0010e9
Merge pull request #2125 from Whissi/normalize-Python-shebang
Normalize Python shebang and improve portability
2017-11-28 08:07:02 +01:00
Stephen Workman
04c903a05d Fix to work on systems where Python 3.x is the default. 2017-11-27 16:44:26 -05:00
Thomas Deutschmann
015aa2eee1
Normalize Python shebang and improve portability 2017-11-27 20:06:37 +01:00
Rainer Gerhards
88d52eae3b
Merge pull request #2121 from rgerhards/i-2114
fix cancel cleanup handler in directory tree creation code
2017-11-27 17:19:15 +01:00
Rainer Gerhards
381da21e3d
Merge pull request #2120 from rgerhards/coverity-2
Coverity scan inspired fixes
2017-11-27 14:43:12 +01:00
Rainer Gerhards
64669bd41e fix cancel cleanup handler in directory tree creation code
PR #2109 provides a solution for a race in directory creation (if a file
is to be written to a new path). There is a small weakness in that patch
in that it introduces a (very unlikely) potential hang condition during
shutdown.

see also https://github.com/rsyslog/rsyslog/pull/2109
2017-11-27 14:40:12 +01:00
Rainer Gerhards
a3d8d8f574 imgssapi bugfix: too-small receive buffer
A too-small receive buffer was used in recv() calls. However, the
size seems to have been sufficiently large for the job in question.

Detected by Coverity scan, CID 185873
2017-11-27 13:07:54 +01:00