cpython/Modules/_remote_debugging
Pablo Galindo Salgado eb4c78df07
gh-148252: Fix stack depth calculation in binary reader on 32-bit platforms (#148253)
Compute ``final_depth`` in ``decode_stack_pop_push()`` and
``decode_stack_suffix()`` using ``uint64_t`` before validating it.

On 32-bit builds, using ``size_t`` arithmetic for ``keep + push`` can wrap
for large input values, causing the later bounds check to validate the wrong
final depth. Using a widened type keeps the validation aligned with the
actual result.
2026-04-13 23:43:55 +01:00
..
clinic gh-138122: Add blocking mode for accurate stack traces in Tachyon (#142998) 2025-12-23 10:49:47 +00:00
_remote_debugging.h gh-148178: Validate remote debug offset tables on load (#148187) 2026-04-13 22:22:23 +00:00
asyncio.c gh-148178: Validate remote debug offset tables on load (#148187) 2026-04-13 22:22:23 +00:00
binary_io.h gh-146308: Fix error handling issues in _remote_debugging module (#146309) 2026-03-22 21:12:02 +00:00
binary_io_reader.c gh-148252: Fix stack depth calculation in binary reader on 32-bit platforms (#148253) 2026-04-13 23:43:55 +01:00
binary_io_writer.c gh-140739: Fix missing exception on allocation failure in BinaryWriter (#143204) 2025-12-27 01:39:21 +00:00
code_objects.c gh-146308: Fix error handling issues in _remote_debugging module (#146309) 2026-03-22 21:12:02 +00:00
debug_offsets_validation.h gh-148178: Validate remote debug offset tables on load (#148187) 2026-04-13 22:22:23 +00:00
frame_cache.c gh-138122: Add blocking mode for accurate stack traces in Tachyon (#142998) 2025-12-23 10:49:47 +00:00
frames.c gh-148178: Validate remote debug offset tables on load (#148187) 2026-04-13 22:22:23 +00:00
module.c gh-148178: Validate remote debug offset tables on load (#148187) 2026-04-13 22:22:23 +00:00
object_reading.c gh-146308: Fix error handling issues in _remote_debugging module (#146309) 2026-03-22 21:12:02 +00:00
subprocess.c gh-144648: Improve libproc usage in _remote_debugging (#144649) 2026-02-10 08:29:55 +00:00
threads.c Fix format string mismatch for uint64_t in _remote_debugging/threads.c (#148360) 2026-04-11 09:10:02 +01:00