HomePhabricator

Fix off-by-one error.

Authored by rtrieu on May 30 2019, 10:06 PM.

Description

Fix off-by-one error.

The created string is one char too large, so it pulls the terminating NULL as
the last character of the string. This later causes SocketTest.cpp to fail.

llvm-svn: 362192

Details

Committed
rtrieuMay 30 2019, 10:06 PM
Parents
rG2a901401fe45: [MIR-Canon] Hardening propagateLocalCopies.
Branches
Unknown
Tags
Unknown