Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normative: Recompute count in TA.p.slice (#3255)
Closes #3248. The current algorithm has a bug that can result in OOB reads in the source TA, because _count_ is not correctly recomputed when the source TA is resized during evaluation of the species constructor. (It is currently bounded by _len_, which is recomputed, but this is incorrect because the bounds of the copy loop is not on the length, but instead on how many bytes need to be copied.)
- Loading branch information