Description of Problem:
The logrotate behaves erratically, and can crash.
Version-Release number of selected component (if applicable):
Rawhide source 3.6.5, ported to Solaris 8.
Highly configuration dependent
Will attach a patch for this.
Created attachment 79184 [details]
fix for uninitialized variable in logrotate.c, port to Solaris 8.
Attached patch is port to Solaris 8.
As Solaris 8 does not contain asprintf() and friends, a reimplementation of
them as been necessary, but that implementation has gotten it slightly wrong,
thus it does not like to receive uninitialized target variable..
The fix is trivialish; the first realloc() must be changed to malloc() at
vasprintf.c file. This implementation is usable only at this application, it
isn't generic fool-proof thing.
Created attachment 79185 [details]
Pure port to Solaris8, corrected asprintf() reimplementation.
Hmm, seems like there is a Solaris port of sorts already in CVS, I think I will release 3.6.6
without these changes and have you send any needed patches against that.