diff options
author | A. Jiang <de34@live.cn> | 2025-03-03 07:13:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-03 07:13:38 +0800 |
commit | ca0612c383bc1c487b8dabff9e5830af173a7da8 (patch) | |
tree | 30ccfc28b03d8499f1de23c4c52dea996b5a390d /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 60486292b79885b7800b082754153202bef5b1f0 (diff) | |
download | llvm-ca0612c383bc1c487b8dabff9e5830af173a7da8.zip llvm-ca0612c383bc1c487b8dabff9e5830af173a7da8.tar.gz llvm-ca0612c383bc1c487b8dabff9e5830af173a7da8.tar.bz2 |
[libc++] Fix `money_get::do_get` with huge input (#126273)
`money_get::do_get` needs to be fixed to handle extremely huge input
(e.g. more than 100 digits).
1. `__double_or_nothing` needs to copy the contents of the stack buffer
on the initial allocation.
2. The `sscanf` call in `do_get` needs to scan the dynamic buffer if
dynamic allocation happens.
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions