Message253349
| Author |
serhiy.storchaka |
| Recipients |
eric.snow, python-dev, rhettinger, serhiy.storchaka |
| Date |
2015年10月22日.19:14:08 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1445541249.37.0.0599056023024.issue25410@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
In very rare circumstances it is possible that after a series of modifications using raw dict methods, ma_keys becomes to point to the same address, but allocated keys array has different size. But the guard in _odict_get_index uses only the address as resize sentinel. This can cause segmentation error if found key index is larger than the size of od_fast_nodes. Following patch adds the value of keys->dk_size as a sentinel. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年10月22日 19:14:09 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, python-dev, eric.snow |
| 2015年10月22日 19:14:09 | serhiy.storchaka | set | messageid: <1445541249.37.0.0599056023024.issue25410@psf.upfronthosting.co.za> |
| 2015年10月22日 19:14:09 | serhiy.storchaka | link | issue25410 messages |
| 2015年10月22日 19:14:09 | serhiy.storchaka | create |
|