Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-136053: Memory Safety Issue in marshal.c TYPE_SLICE Case#136054

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Changes from1 commit
Commits
Show all changes
18 commits
Select commitHold shift + click to select a range
249565f
gh-136053: Memory Safety Issue in marshal.c TYPE_SLICE Case
akshat62Jun 27, 2025
7c95d8f
📜🤖 Added by blurb_it.
blurb-it[bot]Jun 27, 2025
818304a
📜🤖 Added by blurb_it.
blurb-it[bot]Jun 27, 2025
26d50fd
📜🤖 Added by blurb_it.
blurb-it[bot]Jun 27, 2025
42edbea
Incorporating review comments
akshat62Jun 27, 2025
23f29c2
Removing unnecessary rst
akshat62Jun 27, 2025
5c654a3
Removing extra line
akshat62Jun 27, 2025
fca624c
📜🤖 Added by blurb_it.
blurb-it[bot]Jun 27, 2025
9d500c3
📜🤖 Added by blurb_it.
blurb-it[bot]Jun 27, 2025
b17d057
Removing unnecessary rst
akshat62Jun 27, 2025
386d087
Removing unnecessary rst
akshat62Jun 27, 2025
17aadcb
Incorporating review comments
akshat62Jun 28, 2025
9aa277b
Moving up condition
akshat62Jun 28, 2025
8e1804d
Moving up condition
akshat62Jun 28, 2025
4a744bb
PoC: Adding test case
akshat62Jun 28, 2025
cb246df
Removing test
akshat62Jun 28, 2025
dbf6ca3
Merge branch 'main' into gh-136053/memory-saferty-TYPE_SLICE
akshat62Jun 28, 2025
5ec306e
Merge branch 'main' into gh-136053/memory-saferty-TYPE_SLICE
akshat62Jun 28, 2025
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
PrevPrevious commit
NextNext commit
Incorporating review comments
  • Loading branch information
@akshat62
akshat62 committedJun 28, 2025
commit17aadcb9c47a8980ab164a5abac1994eadcdd456
2 changes: 1 addition & 1 deletionPython/marshal.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1659,7 +1659,6 @@ r_object(RFILE *p)
PyObject *stop = NULL;
PyObject *step = NULL;
PyObject *start = NULL;

if (idx < 0) {
break;
}
Expand All@@ -1676,6 +1675,7 @@ r_object(RFILE *p)
goto cleanup;
}
retval = PySlice_New(start, stop, step);
r_ref_insert(retval, idx, flag, p);
cleanup:
Py_XDECREF(start);
Py_XDECREF(stop);
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp