New submission from rmib <rmib.em...@gmail.com>: In mmapmodule.c a function mmap_move_method, use unsigned variables dest, src, cnt, as signed: unsigned long dest, src, cnt; ... if (cnt <0 | | (cnt + dest) <cnt | | (cnt + src) <cnt | | src <0 | | src> self-> size | | (src + cnt)> self-> size | | dest <0 | | dest> self-> size | | (dest + cnt)> self-> size)
---------- components: Library (Lib) messages: 132364 nosy: rmib priority: normal severity: normal status: open title: Unsigned type in mmap_move_method type: behavior versions: Python 2.7, Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11697> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com