Luis Fernando Muñoz Mejías 0b18c17b28 Fix a potential missing '\0' on too long strings.
By implementing a trivial strlcpy it's much easier to detect string
truncations and react to them. This also gives a noticeable speedup in
buffer handling (can be HUGE), since strlcpy() doesn't clear all the
buffer entry before writing data.

Converted all uses of strncpy() into strlcpy().

Also, we don't need to check for some null pointers, as there are no
malloc-like operations in the doAction loop.
2010-11-30 16:05:23 +01:00
2010-11-25 13:56:53 +01:00
2007-07-13 06:21:22 +00:00
2009-05-19 07:31:21 +02:00
2009-05-19 07:31:21 +02:00
2010-11-25 13:56:53 +01:00
2008-04-16 15:27:53 +02:00
2007-09-05 11:11:52 +00:00
2009-05-19 07:31:21 +02:00
2009-05-19 07:31:21 +02:00
2004-11-08 13:52:36 +00:00
2009-07-14 19:45:26 +02:00
2009-07-14 19:45:26 +02:00
2009-07-01 13:28:17 +02:00
2010-04-19 15:38:11 +02:00
2008-04-16 10:26:54 +02:00

This file has been superseeded by the files in the doc folder.
Please see doc/manual.html for futher details. If you are
looking for install information doc/install.html is for you!
If you do not have the doc set, see
    http://www.rsyslog.com/doc
Description
a Rocket-fast SYStem for LOG processing
Readme 294 MiB
Languages
C 68.5%
Shell 20.9%
JavaScript 2.5%
Dockerfile 2.4%
Makefile 2.3%
Other 3.2%