Hi,
Am Dienstag 17 Juni 2008 schrieb Thomas Reinke:
> > I've made also some additional changes to the script for recognizing SuSE
> > Distros. I've found that SuSE is named openSUSE since 10.2 and so the
> > script did not found actual versions. I have removed all one by one
> > checks for the Suse versions and added a global check. The result is of
> > course the same and this change should not break any dependencies.
> > The first changed rows are only cosmetics, removed some trailing
> > whitespace... If this change is ok, please let me know. Then i will
> > commit it.
>
> Not sure I understood 'ver[max_index(ver)] = " ";'
> If ver is null, this statement is meaningless, and
> if it is defined, will always be '2', which is never used.
>
> You probably should bracket everying in a
> if(!isnull(ver)) {
> }
> after the eregmatch.
You a right. I only wanted to set ver[1] != null of course there are some
syntax error messages in openvasd log if accesing to not existing indexes.
Was to late or to early yesterday. :-)
Changed to if( isnull(ver) ) ver[1] = " "; which is working.
The Rest is ok for you ?
--
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