Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Modules/_remote_debugging/binary_io_reader.c
Co-authored-by: devdanzin <74280297+devdanzin@users.noreply.github.com>
  • Loading branch information
pablogsal and devdanzin authored Mar 22, 2026
commit 359cf5c8ead187f09448846d4468f053cbc4c338
1 change: 1 addition & 0 deletions Modules/_remote_debugging/binary_io_reader.c
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,7 @@ decode_stack_pop_push(ReaderThreadState *ts, const uint8_t *data,
for (uint32_t i = 0; i < push; i++) {
size_t prev_offset = *offset;
ts->current_stack[i] = decode_varint_u32(data, offset, max_size);
/* If offset didn't advance, varint decoding failed */
if (*offset == prev_offset) {
Comment thread
pablogsal marked this conversation as resolved.
return -1;
}
Expand Down
Loading