Message172791
In the function STRINGLIB(fastsearch_memchr_1char) in the file Objects/stringlib/fastsearch.h NULL returned by memchr/memrchr casted to intptr_t, then some arithmetic operations performed on this integer, and result casted back to pointer. I think it is unsafe to do with NULL. The code is easy to rewrite in order to avoid such a questionable operations. |
|
Date |
User |
Action |
Args |
2012-10-12 22:45:08 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
2012-10-12 22:45:08 | serhiy.storchaka | set | messageid: <1350081908.35.0.947627906901.issue16216@psf.upfronthosting.co.za> |
2012-10-12 22:45:08 | serhiy.storchaka | link | issue16216 messages |
2012-10-12 22:45:08 | serhiy.storchaka | create | |
|