Message278202
Currently PyUnicode_CopyCharacters doesn't check arguments thoroughly. This could lead to undefined behaviour or crash in debug mode. For example, from_start > len(from), how_many < 0. Another case is that when how_many > len(from), it will choose len(from) but this can still fail since from_start can > 0. The doc of it is also not perfect, it does not necessarily return 0 on success. |
|
Date |
User |
Action |
Args |
2016-10-06 18:15:04 | xiang.zhang | set | recipients:
+ xiang.zhang, vstinner, serhiy.storchaka |
2016-10-06 18:15:04 | xiang.zhang | set | messageid: <1475777704.53.0.510656129922.issue28379@psf.upfronthosting.co.za> |
2016-10-06 18:15:04 | xiang.zhang | link | issue28379 messages |
2016-10-06 18:15:04 | xiang.zhang | create | |
|