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

+1
View File
@@ -60,6 +60,7 @@ jv jv_bool(int);
jv jv_number(double);
double jv_number_value(jv);
int jv_is_integer(jv);
jv jv_array();
jv jv_array_sized(int);