@prattmic requested issue #58440 to be considered for backport to the next 1.19 minor release.
@gopherbot please open a backport to 1.20 and 1.19. This bug has the opportunity to cause memory corruption in combination with other seemingly innocuous changes. We should backport for safety, as the fix is trivial.