The StringRef single argument constructor expects a null-terminated string. Explicitly pass the size to prevent reading pass the end of the array.
The StringRef single argument constructor expects a null-terminated string. Explicitly pass the size to prevent reading pass the end of the array.