The defensive copy is not needed because the name may not alias the output buffer.
mentioned in commit 1199943f
mentioned in commit 72ea3397
mentioned in commit 146b58d1
mentioned in commit d3d94abb
mentioned in commit a02f3e79
mentioned in commit 916ef0f6
mentioned in commit 883dceeb