Visitar URL original
GH-93964: Harden overflow checks before _PyBytes_Resize in compile.c by sweeneyde · Pull Request #94044 · python/cpython · GitHub
Skip to content
Open
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
Next Next commit
remove unused variable
  • Loading branch information
sweeneyde committed Jun 21, 2022
commit e05b51e21631f2dd8ee476f7b0d58dd6229fb0b7
1 change: 0 additions & 1 deletion Python/compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -7733,7 +7733,6 @@ assemble_emit_location(struct assembler* a, struct instr* i)
static int
assemble_emit(struct assembler *a, struct instr *i)
{
Py_ssize_t len = PyBytes_GET_SIZE(a->a_bytecode);
_Py_CODEUNIT *code;
int size = instr_size(i);
if (!bytes_make_room(&a->a_bytecode, a->a_offset,
Expand Down