214 Commits

Author SHA1 Message Date
Rainer Gerhards
95c1e8c184
Merge pull request #2305 from jgerhards/i1625
omhiredis: add option to use RPUSH instead of LPUSH
2017-12-30 10:33:35 +01:00
Jan Gerhards
5ffa130adc omrabbitmq: use new errmsg interface
see also https://github.com/rsyslog/rsyslog/issues/1684
2017-12-28 18:26:50 +01:00
Jan Gerhards
a61796217d omhiredis: add option to use RPUSH instead of LPUSH
if userpush is on, RPUSH will be use instead of LPUSH

closes https://github.com/rsyslog/rsyslog/issues/1625
2017-12-27 18:06:52 +01:00
Jan Gerhards
ab08647f08 mmrfc5424addhmac: use new errmsg interface
see also: https://github.com/rsyslog/rsyslog/issues/1684
2017-12-21 19:10:24 +01:00
PascalWithopf
29c9fb1f9a codestyle: reduce line length to 120
lines are still checked for a length of 125 because
these are just some of the lines
2017-12-21 17:09:32 +01:00
PascalWithopf
79de51e4fc codestyle: reduce max line length to 125 2017-12-20 16:16:57 +01:00
Jan Gerhards
5cc2731a38 omhttpfs: use new errmsg interface
see also https://github.com/rsyslog/rsyslog/pull/2259
2017-12-19 20:47:12 +01:00
Jan Gerhards
92c9bb709c mmsequence: use new errmsg interface
see also https://github.com/rsyslog/rsyslog/issues/1684
2017-12-18 19:30:43 +01:00
Rainer Gerhards
5bd1daf647 omhiredis bugfix: rsyslog segfault on startup if no template is specified
closes https://github.com/rsyslog/rsyslog/issues/2217
2017-12-17 19:17:41 +01:00
Jan Gerhards
4de1050b0e omzmq3: use new errmsg interface
see also https://github.com/rsyslog/rsyslog/issues/1684
2017-12-14 14:17:23 +01:00
Rainer Gerhards
6bfc00bdef refactor modules that do not expose legacy action interface
simplify code, also gets us rid of Coverity cosmetic CIDs
2017-12-04 19:06:59 +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
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
56014d3fe4 "fix" Coverity scan false positives 2017-11-30 08:19:14 +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
38e9bcf5b0 omamqp1: work around gcc-7 build issues 2017-11-29 12:39:07 +01:00
Rainer Gerhards
ad9a247146 "fix" some Coverity scan false positives 2017-11-29 08:11:23 +01:00
Rainer Gerhards
422061984f omhiredis: fix Coverity scan cosmetic CID 185874 2017-11-27 12:55:25 +01:00
Rainer Gerhards
f466d4f2c4 omampq1: make build cleanly under gcc-7 2017-11-25 15:49:05 +01:00
Rainer Gerhards
2368cbfea5 omzmq3: fix gcc-7 build warnings
closes https://github.com/rsyslog/rsyslog/issues/2096
2017-11-25 10:42:51 +01:00
Rainer Gerhards
9d572f1172 imzmq3: fix gcc-7 build warnings 2017-11-25 10:41:42 +01:00
Rainer Gerhards
0704ef2439 [io]mzmq3: deprecate modules
closes https://github.com/rsyslog/rsyslog/issues/2100
2017-11-25 10:38:25 +01:00
Rainer Gerhards
e88605f76d
Merge pull request #2083 from jgerhards/errmsg-imczmq
imczmq: use new errmsg interface
2017-11-22 17:36:24 +01:00
Rainer Gerhards
719dcd0ff0
Merge pull request #2081 from jgerhards/errmsg-imzmq3c
imzmq3: use new errmsg interface
2017-11-22 16:16:55 +01:00
Jan Gerhards
f2cc076e5b imczmq: use new errmsg interface 2017-11-22 14:39:28 +01:00
Jan Gerhards
d546fb4779 omtcl: use new errmsg interface 2017-11-22 14:35:36 +01:00
Jan Gerhards
8bc6628f2c imzmq3: use new errmsg interface 2017-11-22 14:26:13 +01:00
Rainer Gerhards
9aa41d515a "fix" Coverity scan false positives
plus some mild refactoring while we are at it
2017-11-22 11:16:17 +01:00
Rainer Gerhards
a4c7f2ac81 module-template framework: avoid compiler warning in some legal cases
the finalize_it: label is required, but not always used, which each
time results in a compiler warning that needs to be worked around.
Now this is fixed once and for all for gcc and clang - the others
will probably not complain in any case. Great solution until something
comes up that makes us need a revision.
2017-11-22 11:08:34 +01:00
Rainer Gerhards
338e09cd09 "fix" Coverity scan false positive CID 185398 2017-11-22 08:38:58 +01:00
Jan Gerhards
bf1476d81a omczmq: : use new errmsg interface 2017-11-15 13:08:41 +01:00
PascalWithopf
e485c5c5bc codestyle: shorten lines to max 130 chars 2017-11-15 09:04:42 +01:00
Rainer Gerhards
5e4c97639f
mmgrok: fix readme
Needs libfastjson, would segfault if build with json-c. Probably not updated since this changed.
2017-11-10 21:41:22 +01:00
Nachiketa Prachanda
666d2e1ce9 imczmq: remove unallocated and unused pointer
Fix a SIGSEGV in a call to
371: zcert_destroy(&serverCert) called from rcvData().

- remove serverCert as it is only used uninitialized in a call
to zcert_destroy() - this causes a core dump at rsyslogd exit.
- also initialize authActor at definition.

Signed-off-by: Nachiketa Prachanda <nachiketa.prachanda@att.com>
2017-10-31 14:01:30 -07:00
Rainer Gerhards
62dc5120f2 omhttpfs: flag Coverity-scan detected issue as intentional 2017-10-29 10:20:43 +01:00
Rainer Gerhards
e57638475b mmcount: remove useless code
detected by Coverity scan, CID 185379
2017-10-29 10:17:06 +01:00
Rainer Gerhards
1837a3d54a imczmq: remove never-reached code
This code was not required (handled by framework) and also never
reached.

Detected by Coverty Scan - CID 18543.
2017-10-27 13:19:51 +02:00
Rainer Gerhards
2fdb11657a imczmq: fix potential memory leak
detected by clang static analyzer
2017-10-23 14:42:57 +02:00
Rainer Gerhards
6ef6ed8039 imczmq: fix additional compiler warnings 2017-10-23 14:19:51 +02:00
Rainer Gerhards
a9eb096182 Merge pull request #1887 from rgerhards/fix-0mq
0mq modules: fix compiler warnings
2017-10-23 14:01:18 +02:00
Rainer Gerhards
f39e6d33d8 0mq modules: fix compiler warnings 2017-10-23 12:13:45 +02:00
Rainer Gerhards
bbb81e1a60 mmcount: fix compiler warning 2017-10-23 10:18:40 +02:00
Jan Gerhards
516061e81d mmcount: fix compiler warning
closes https://github.com/rsyslog/rsyslog/issues/1790
2017-10-22 17:53:25 +02:00
PascalWithopf
2f40554acb codestyle: correct too long lines 2017-06-29 09:28:21 +02:00
Shane Lawrence
ed5ea46a65 Fix mangled pmsnare messages when tabs not escaped. 2017-06-05 11:44:11 -04:00
Rainer Gerhards
062d0c671a Merge pull request #1565 from Whissi/fix-format-security-issue-in-zmq-modules
Fix format security issue in zmq3 modules
2017-06-01 15:39:40 +02:00
Rainer Gerhards
aecdbdf360 mmdblookup: upgrade from contrib module to fully supported one 2017-05-31 13:43:05 +02:00