Thanks a lot,
this way i will continue (to poluate and) to report strange thing i see in log files ;-)

Le 24/08/2012 16:55, Veerendra Ganiger a écrit :
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Thank you for reporting. Yes, it's always better to check array size
before accessing.

Fixed the dump error in Revision 13965.


Thanks!
Veerendra

On Thursday 23 August 2012 08:00 PM, Sebastien Aucouturier wrote:
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 ?



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQN5XtAAoJEFdbOg70fJia/tAH/ijQtqU7F5mCFTb0TxTT0mAl
Nz7uV9BorAixltjsRmRVzUXlw+fL5K3D9kxNh623vUIKX8Xyeq9R+c5ycKOtBlt2
PsaHOcw7ah0vs6RSegJjMCwJxjc6Lg9cLjgkpI6WaywIMEJ5ax8r2SHDVOJaEptY
owfktdi26FlxPdKk3VQNWXyeHLIcW38XNCA++9gMEA6z/2U5IFHIxdN/Z2nmUkCA
gtiCzjAhkrEV2Tw+y5JwEkaxuCw1T9d3s9ZjfjoM15ou34QJY4rgP0GwcfNOUpqB
NAramvVDBDQBnhsI3+Tm3ICQ40fZvbYV6JfYzUGtT4pkE5cCw5XMBaiRzSsrgkE=
=rreh
-----END PGP SIGNATURE-----

--
    | 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