Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
when number of snips is 0, `end - 1` will go one below the buffer. computing out of bound pointer (with the exception of one past the end) is technically UB [0] so avoid it by doing the computation on index instead of pointer. 0: https://port70.net/~nsz/c/c11/n1570.html#6.5.6p9
- Loading branch information