Skip to content

Commit 57ed286

Browse files
committed
original issue
1 parent 9f1adbc commit 57ed286

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/_libs/src/vendored/ujson/python/objToJSON.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -2062,8 +2062,8 @@ PyObject *objToJSON(PyObject *Py_UNUSED(self), PyObject *args,
20622062
encoder->free(ret);
20632063
}
20642064

2065-
int someints[2] = {0, 1};
2066-
printf("the OOB value is: %d\n", someints[2]);
2065+
int myvar = INT_MAX;
2066+
printf("This value should overflow: %d\n", myvar + 1);
20672067

20682068
return newobj;
20692069
}

0 commit comments

Comments
 (0)