A recent patch replaced two sprintf() calls with snprintf(), but didn't
use the right length for the remaining space in the buffer.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D155224
[flang][unittests] Fix recent snprintf() changes to use correct buffer lengths ClosedPublic Authored by klausler on Jul 13 2023, 11:04 AM.
Details Summary A recent patch replaced two sprintf() calls with snprintf(), but didn't
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 18 2023, 10:26 AM Closed by commit rGecd691750648: [flang][unittests] Fix recent snprintf() changes to use correct buffer lengths (authored by klausler). · Explain WhyJul 18 2023, 10:28 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 541627 flang/unittests/Decimal/quick-sanity-test.cpp
flang/unittests/Decimal/thorough-test.cpp
|