Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stek_share: resize instead of reserve (#10793)
stek_share indexes into an offset on a string that it reserved space for, but indexing past size() is undefined behavior. This would result in crashing on some systems. reszing adjusts the length which satisfies the indexing requirement.
- Loading branch information