aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.cpp
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2026-09-23 16:53:17 +0000
committerMark Johnston <markj@FreeBSD.org>2026-09-23 16:53:17 +0000
commit7c5e457d3afdc7742ee24f0b5ee6e5e7aa00a6bd (patch)
treee5dc8e2965322b6deb03d158c91e7c766cb69274 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.cpp
parent14c7492637ec0644b5bb88da114e8cc76b9bf629 (diff)
ktls: Fix an off-by-one bug in tls13_find_record_type()
If the entire plaintext is zero-filled, the backwards walk in tls13_find_record_type() would return the offset of the last byte of the TLS header. This causes an underflow when decrypting, resulting in a null pointer dereference. Fix the bug and add a regression test. Reviewed by: gallatin, jhb MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D59767
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions