Rainer Gerhards d93fe1af36 bugfix: abort when persisting object state
This causes a segfault. It happens whenever an object state larger
than 4095 byte is persisted. Then, incorrectly a try to rollover to
a new state file is tried, which will lead to a division by zero
as the necessary variables for this operation are not set because we
are NOT in circular mode.

This problem can happen wherever state files are written. It has been
experienced with imfile and queue files.

Many thanks to github user mostolog for his help in reproducing the
issue, which was very important to finally nail down this long-standing
bug.

closes https://github.com/rsyslog/rsyslog/issues/1239
closes https://github.com/rsyslog/rsyslog/issues/1162
closes https://github.com/rsyslog/rsyslog/issues/1074
2016-11-02 18:59:23 +01:00
..
2016-09-05 16:47:14 +02:00
2016-06-01 10:11:12 +02:00
2016-10-10 15:45:45 +02:00
2016-10-10 15:45:45 +02:00
2016-06-02 10:18:05 +02:00
2016-09-05 16:47:14 +02:00
2016-02-20 14:36:34 +01:00
2015-10-09 15:10:50 +02:00
2014-05-16 14:32:49 +02:00
2016-09-05 16:47:14 +02:00
2016-09-05 16:47:14 +02:00
2016-10-03 17:39:27 +02:00
2016-06-02 12:08:55 +02:00
2016-06-02 10:18:05 +02:00
2016-06-01 10:40:19 +02:00
2016-09-05 16:47:14 +02:00
2014-12-13 18:15:51 +01:00
2016-09-05 16:47:14 +02:00
2016-09-05 16:47:14 +02:00
2015-02-02 09:54:30 +01:00
2014-12-13 18:15:51 +01:00
2016-07-22 15:00:28 +02:00
2014-05-23 12:18:10 +02:00
2015-12-02 10:04:19 +01:00
2016-06-02 12:08:55 +02:00
2016-08-22 16:20:02 +02:00
2016-06-01 09:49:46 +02:00
2016-09-05 16:47:14 +02:00
2016-09-05 16:47:14 +02:00
2016-10-10 18:15:25 +02:00
2016-09-05 16:47:14 +02:00
2016-06-01 09:49:46 +02:00
2016-09-05 16:47:14 +02:00
2016-06-02 10:18:05 +02:00
2016-06-02 12:08:55 +02:00
2016-09-05 16:47:14 +02:00