[ROOT] array boundary checking

From: Dariusz Miskowiec (D.Miskowiec@gsi.de)
Date: Mon Sep 16 2002 - 15:18:36 MEST


Hello ROOT team

I have the impression that ROOT (3.03/08 on linux) is too 
tolerant:

root [0] int ar[20]
root [1] ar[0]
(int)0
root [2] ar[19]
(int)0
root [3] ar[20]
(int)0
root [4] ar[21]
Error: Array index out of range ar[21] -> [21]  valid upto ar[19] FILE:/tmp/filelcNbJE_cint LINE:1
*** Interpreter error recovered ***

Best regards
Dariusz Miskowiec

-- 
+-----------------------------------------------------------------+
+  Dariusz Miskowiec                  E-mail: D.Miskowiec@gsi.de  +
+  GSI, Planckstr. 1                  Phone:  0049-6159-712-133   +
+  D-64291 Darmstadt                  Fax:    0049-6159-712-989   +
+-----------------------------------------------------------------+



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:10 MET