summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2023-07-05 10:12:03 -0400
committerLouis Dionne <ldionne.2@gmail.com>2023-10-27 10:21:50 -0400
commit574c5cc9d8f6fcdf3702f5f98ea07ea6a8ebdfb7 (patch)
tree7a2b068d156d5848e8af9f6f7412a98ae4f431b2 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentcb950c9dc9bff37367068310bdfad75c7274915c (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