Closed ZirconXi closed 4 years ago
This fixes a bug in the array reverse function. when the array is empty, ar->size - 1 will overflow. This situation causes the array to be out of bounds.
ar->size - 1
This fixes a bug in the array reverse function. when the array is empty,
ar->size - 1
will overflow. This situation causes the array to be out of bounds.