Previously, the printf parser would treat "%\0" as a conversion with the
name "\0", and advance past the null byte causing a buffer overflow.
This patch corrects that in both printf and scanf.
Details
Details
- Reviewers
sivachandra - Commits
- rG28e312cbf098: [libc][obvious] fix printf failing to stop on %\0
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo