Hi there,

On Fri, 7 Sep 2007 Henrik Krohns wrote:

> On Thu, Sep 06, 2007 at 02:29:23PM +0100, Ian G Batten wrote:
> >
> > On 3 Sep 2007, at 17:02, Henrik Krohns wrote:
> >
> > > I wonder if it could be fixed by just compiling with (posix)PCRE
> > > instead?
> >
> > That looks promising.  I've compiled a test copy of clamav with
> >
> > LIBS=-lpcreposix LDFLAGS='-L/usr/local/lib -R/usr/local/lib' ./
> > configure --enable-milter
>
> No problems here either. I replaced all references of regex.h to
> pcreposix.h and compiled with "-lpcreposix -lpcre".
>
> I don't know if there's anything to lose, probably PCRE is a bit more
> optimized also..

Good work, guys!

For the archives, don't forget to check that your pcre library is
reasonably up-to-date.  There was a buffer overflow vulnerability in
some versions a while back.

--

73,
Ged.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to