diff options
| author | Marcell Leleszi <59964679+mleleszi@users.noreply.github.com> | 2025-10-30 18:35:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-30 10:35:42 -0700 |
| commit | 784b74c6ef8a7f6ffaa7ab250eb35696dd833426 (patch) | |
| tree | aa7bcc43098960cac912fd9aeda1a0700e35734c /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h | |
| parent | b1acd6df03d3e0dfaee00191a807142a65b2e212 (diff) | |
| download | llvm-784b74c6ef8a7f6ffaa7ab250eb35696dd833426.zip llvm-784b74c6ef8a7f6ffaa7ab250eb35696dd833426.tar.gz llvm-784b74c6ef8a7f6ffaa7ab250eb35696dd833426.tar.bz2 | |
[libc] Fix off by one error in strftime (#165711)
This patch fixes a bug in strftime's return value when the formatted
output exactly fills the buffer, not including the null terminator. The
previous check failed to account for the null terminator in this case,
incorrectly returning the written count instead of 0.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions
