Ah well that was a few hours of fun :) at least I learnt something
I got a new gcc (4.2.1) and all seems well again (feel like a bit of a twit)
Thx for the help.
TTFN
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of aCaB
Sent: 04 September 2007 06:08 PM
To: ClamAV Development
Subject: Re: [Clamav-devel] Segfault in libclamav (0.91.2)
Gregory Nietsky wrote:
Greetings all ...
Here is a regression fix to a bug causing a segfault on some files ...
The trick might be to check for dcur+unp_offset+i0 aswell as unp_offset
Hi Gregory,
Looks to me like a compiler bug.
If you're using gcc 4.1.0 do yourself a favour and upgrade to at least
4.1.1.
Please see https://wwws.clamav.net/bugzilla/show_bug.cgi?id=613
If it's not the case, please provide us with a sample.
Thanks,
-aCaB
___
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net
--
This message has been scanned for viruses and
dangerous content by Superset Technology, and
is believed to be clean.
http://www.superset.co.za
___
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net