In the code
const char *str = "abc"
if you do sizeof(str) you get the size of the pointer, not the string.
This patch fixes that mistake.
Details
Details
- Reviewers
- None
- Commits
- rG430ca14af835: [libc][obvious] fix tests using wrong size for string
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo