Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.13.0
-
None
Description
bit vector copyFromSafe simply returns false when asked to copy to an index greater than it's capacity. It should do realloc if needed and copy correctly.
This bug is very subtle and shows up as random wrong result. allocateNew for bit vector allocates 4096 bytes initially and if we do copyFromSafe to any index greater than that, we basically do not do any copy, but just return false.