Serhiy Storchaka added the comment:

I analyzed all 1-valued usages of Py_BuildValue and found similar bags only in 
Modules/_sre.h. Here is a patch.

Bugs should be evident on big-endian platform with sizeof(int) < sizeof(size_t) 
or sizeof(long) < sizeof(size_t). Standard tests should fail on such platforms.

----------
keywords: +patch
versions: +Python 3.4
Added file: http://bugs.python.org/file27642/buildvalue_overflow.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10182>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to