is it admit in nasl coding convention to let get_array_elem function check that character index is correct and not outside the scope ?? like i see there in openvassd.dump :

(/var/lib/openvas/plugins/secpod_ms06-040_remote.nasl) get_array_elem: requesting character after end of string read_andx_resp (66 >= 39)

Is it not better to check array size before requesting outside index value ?


--
    | Sébastien AUCOUTURIER | Software Design Engineer Lead
    | ITrust | 55 rue l'Occitane BP 67303 31673 LABEGE CEDEX
    | Email: [email protected]
    | Fixe Sdt. 05.67.34.67.80 | Fax. 09.80.08.37.23
    | IT Security Services & SaaS Editor
_______________________________________________
Openvas-plugins mailing list
[email protected]
http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-plugins

Reply via email to