diff options
| author | Louis Dionne <ldionne.2@gmail.com> | 2023-07-05 10:12:03 -0400 |
|---|---|---|
| committer | Louis Dionne <ldionne.2@gmail.com> | 2023-10-27 10:21:50 -0400 |
| commit | 574c5cc9d8f6fcdf3702f5f98ea07ea6a8ebdfb7 (patch) | |
| tree | 7a2b068d156d5848e8af9f6f7412a98ae4f431b2 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | cb950c9dc9bff37367068310bdfad75c7274915c (diff) | |
[libc++] Fix incorrect length check in std::basic_filebuf
This patch fixes an ASAN-found issue in std::basic_filebuf where we'd
check the wrong size before proceeding to set our internal buffer to
the externally-provided buffer, leading to the library trying to read
from the incorrect buffer in underflow().
Thanks to Andrey Semin for the patch.
Differential Revision: https://reviews.llvm.org/D154514
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
