Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33.9k
bpo-29438: fixed use-after-free in key sharing dict#17
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Conversation
methane commented Feb 11, 2017
Patch for Python 3.5 is slightly differ from this PR. |
c38d9fe to 2dd62f6CompareObjects/dictobject.c Outdated
| @@ -4352,15 +4352,18 @@ _PyObjectDict_SetItem(PyTypeObject *tp, PyObject **dictptr, | |||
| } | |||
| if (value == NULL){ | |||
| res = PyDict_DelItem(dict, key); | |||
| if (cached != ((PyDictObject *)dict)->ma_keys){ | |||
| // key sharing dict doesn't allow deletion. | |||
zhangyangyuFeb 11, 2017 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just as I said this is somewhat misleading and it's better to make it clear.
2dd62f6 to bf8bd7eCompareCodecov Report@@ Coverage Diff @@## master #17 +/- ## ========================================== + Coverage 82.37% 82.37% +<.01% ========================================== Files 1427 1427 Lines 350948 350948 ========================================== + Hits 289088 289095 +7 + Misses 61860 61853 -7Continue to review full report at Codecov.
|
Win arm32 master
The `html_url` field takes us to the actual comment on GitHub. `url` field took us to an API JSON response.
17: warn for ssl r=ltratt a=nanjekyejoannah Warn for `ssl` features. Co-authored-by: Joannah Nanjekye <[email protected]>
Grab builtins dict from module
Also make PyObject an UnsafeCell<ffi::_object> so it can be passed around by & reference
No description provided.