Hi,

i've tried to check Version on some Ubuntu packages. But found a problem which 
i need some input for.
Ubuntu sometimes uses a Version scheme like this 
Old Version : 1.2.8-0ubuntu8
New Version: 1.2.8-0ubuntu8.3

Checking this with isdpkgvuln will give the equal result. Same with my 
version_is_less function. 
Problem is that the Old Version is shorter then the new version and revcomp 
function will only check to max length of old version.  
version_is_less cannot handle this characters correct. I will try to fix the 
version_func for a scheme like this. But Ubuntu is using pkg which normally 
can easiliy be checked with isdpkgvuln. Which i prefer to use for this 
checks.
Any hints how this can be solved cleanly ?

-- 
Gruss
    Carsten Koch-Mauthe
    
 http://www.dn-systems.de  mail: [EMAIL PROTECTED] 
 DN-Systems Enterprise Internet Solutions GmbH
 Hornemannstr. 11 31137 Hildesheim, Germany     
 Tel. +49-5121-28989-0 Fax. +49-5121-28989-11 
 21 Sunrise Ct, S.San Francisco, CA 94080, USA
 Tel. +1-650-472-2512  Mob. +1-650-430-1219
 Handelsregister HRB-3213 Amtsgericht Hildesheim
 Geschäftsführer Lukas Grunwald
_______________________________________________
Openvas-devel mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-devel

Reply via email to