Bug#818793: Segmentation fault related to log filename and dateformat length when using compress, sharedscripts, olddir

2019-01-21 Thread Bernhard Übelacker
Dear Maintainer, found while searching for another bug that upstream report [1] that looked familiar. That upstream report points to the same source line and is written to be resolved by [2] with topic dateformat. This patch seems included first in debian stretch with version 3.11.0-0.1 [3]. My

Bug#818793: Segmentation fault related to log filename and dateformat length when using compress, sharedscripts, olddir

2019-01-18 Thread Bernhard Übelacker
Dear Maintainer, I tried to find out where this stack in message #25 would point to, if it may help. The failing call to free, I guess, would be in function rotateLogSet in logrotate.c, line 1749. 1748for (i = 0; i < log->numFiles; i++) { 1749free(rotNames[i]->firstRotated);

Bug#818793: Segmentation fault related to log filename and dateformat length when using compress, sharedscripts, olddir

2018-08-22 Thread Christian Göttsche
Control: tags -1 moreinfo unreproducible Hi, I am not able to reproduce any of the two segfaults. Can you both please try version 3.14.0-2 and report whether you are still getting segfaults. Best regards Christian Göttsche

Bug#818793: Segmentation fault related to log filename and dateformat length when using compress, sharedscripts, olddir

2017-03-08 Thread Yoann Panier
Hi, I just hit the same behaviour on Ubuntu but not in the same context. I have two Ubuntu 16.10 instances with near exactly the same config but only encounter this bug on one instance. logrotate 3.8.7-2ubuntu2 The logrotate conf who cause this behaviour is exactly the same on both

Bug#818793: Segmentation fault related to log filename and dateformat length when using compress, sharedscripts, olddir

2016-03-25 Thread rysiek
Dnia czwartek, 24 marca 2016 18:31:52 Paul Martin pisze: > Can you attach the script to an email, please? The paste.debian.net > entry has expired or was deleted. Sure: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #!/bin/bash # # *** IMPORTANT *** # To be run

Bug#818793: Segmentation fault related to log filename and dateformat length when using compress, sharedscripts, olddir

2016-03-24 Thread Paul Martin
Can you attach the script to an email, please? The paste.debian.net entry has expired or was deleted. -- Paul Martin

Bug#818793: Segmentation fault related to log filename and dateformat length when using compress, sharedscripts, olddir

2016-03-21 Thread rysiek
Turns out, `nocompress` also seems to trigger the bug; `delaycompress` is the only safe option. -- Pozdrawiam, Michał "rysiek" Woźniak Zmieniam klucz GPG :: http://rys.io/pl/147 GPG Key Transition :: http://rys.io/en/147 signature.asc Description: This is a digitally signed message part.

Bug#818793: Segmentation fault related to log filename and dateformat length when using compress, sharedscripts, olddir

2016-03-20 Thread rysiek
Package: logrotate Version: 3.8.7-1+b1 Logrotate fails to properly handle long filenames with long dateext dateformat, and crashes. For this to happen, several conditions must be met simultaneously: 1. at least two files must need rotation 2. first filename must be between 7 and 33 characters