You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix a bug whereby Buffer.AppendValue would fail to sufficiently grow the
capacity of its backing byte slice. Previously, AppendValue used cap(buf) when
calculating the argument to slices.Grow, but slices.Grow expects its argument
to be in terms of the slice's current length, not capacity.
Add a focused randomized test that catches the bug. Also, add invariant
assertions around a BufHandle's existence in or out of a pool.
Fix#4247.
0 commit comments