mirror of
https://github.com/python/cpython.git
synced 2026-06-08 02:41:11 +00:00
gh-148418: Fix a possible reference leak in a corrupted TYPE_CODE marshal stream (GH-148419)
This commit is contained in:
parent
ce51c18818
commit
c3972f2795
2 changed files with 2 additions and 1 deletions
|
|
@ -1636,7 +1636,7 @@ r_object(RFILE *p)
|
|||
goto code_error;
|
||||
firstlineno = (int)r_long(p);
|
||||
if (firstlineno == -1 && PyErr_Occurred())
|
||||
break;
|
||||
goto code_error;
|
||||
linetable = r_object(p);
|
||||
if (linetable == NULL)
|
||||
goto code_error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue