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