add checking of numeric indices to an array to see if they can reasonably be considered integers. Avoid undefined behaviour if out of bounds

This commit is contained in:
David R. MacIver committed 2013-12-10 09:20:12 +00:00
1 parent 00f244385b
commit 014b45b4a9
4 files changed
+26 -4

No files matched your search

+4
View File
@@ -718,3 +718,7 @@ map(has(2))
keys
[42,3,35]
[0,1,2]
[][.]
1000000000000000000
null