Damian Menscher wrote:

>> I check for that negative length (arg#3) in a number of places, and
>> I'm wondering if it's a stack corruption?
> 
> Certainly seems like it:
> 
> ~menscher> bc
> obase=16
> -1210973824
> -482DFE80
> -1210973824+2^32
> B7D20180
> 
> Damian Menscher

Yeah.  My problem is that it only ever seems to cause a problem in
cl_scanfile().  And that combined with thorough checking for e.g. that
negative length, makes me suspect cl_scanfile().  And because I'm
running multi-threaded, I thought - is libclamav really thread-safe? 


/Per Jessen, Zürich

_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html

Reply via email to