[New-bugs-announce] [issue11697] Unsigned type in mmap_move_method
rmib
report at bugs.python.org
Sun Mar 27 23:13:21 CEST 2011
New submission from rmib <rmib.email at 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 <report at bugs.python.org>
<http://bugs.python.org/issue11697>
_______________________________________
More information about the New-bugs-announce
mailing list