
24 Oct
2008
24 Oct
'08
10:04 a.m.
Kaitlin Rupert wrote:
+ crs_val = crs[0]
You also want to check the length of crs. The provider should always return an instance, but it's always good to have a check. If something causes the provider not to return an instance and also not return a failure, then you'd be accessing the array out of bounds.
Yup, I forgot this check. Thanks patch with changes submitted. Regards, Deepti.