> I would like to report some problems:
>  
> 1.
> New patch in n2n.c 
> (lzo1x_decompress --> lzo1x_decompress_safe) breaks windows version 
> of n2n, no data goes over tunnel.
>  
> after removing _safe from n2n.c n2n works well 
> again.

Jaromir - I have made a change in r3676 which fixes this for me under Linux. 
Can you please check if this works for you under Windows to.

Luca - I suspect your Windows build may have worked by a fluke of uninitialised 
data. If your compiler does not set uninitialised variables to zero (and some 
do not) then the input length to lzo1x_decompress_safe() would be a random 
positive 32-bit integer; almost always larger than your typic IP packet of a 
few hundred bytes.

Luca if you get a chance can you verify this under your Windows compiler too.

--
  Rich


      Stay connected to the people that matter most with a smarter inbox. Take 
a look http://au.docs.yahoo.com/mail/smarterinbox
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to