reho 2008-10-28 23:45:29 UTC
Memory leak fron fts_alloc() on Solaris fixed.
Luke Mewburn wrote:
In examining the code, it appears that the implementation of
fts_alloc() can leak the struct stat fts_statp if you're not using
ALIGNBYTES() && ALIGN(), which I guess that Solaris doesn't have.
Given that the leaked buffers are 160 bytes in size (184960/1156),
I suspect that's sizeof(struct stat) and our culprit.
Thanks to: Henrik Krohns <hege at hege.li>
Submitted by: Luke Mewburn <luke at mewburn.net>
Revision Changes Path
1.59 +14 -1 amavisd-milter/CHANGES
1.3 +22 -16 amavisd-milter/compat/fts_open.c