Message82852
On windows, after mmap.resize fails, self->map_handle
becomes NULL, but it should become INVALID_HANDLE_VALUE otherwise
CHECK_VALID is passed through, it can cause crash like bellow.
import mmap
m = mmap.mmap(-1, 5)
try:
m.resize(-1)
except WindowsError:
pass
m[0] = '1' # crash
The patch is in r69942. |
|
Date |
User |
Action |
Args |
2009-02-27 17:33:44 | ocean-city | set | recipients:
+ ocean-city |
2009-02-27 17:33:44 | ocean-city | set | messageid: <1235756024.86.0.438154708422.issue5385@psf.upfronthosting.co.za> |
2009-02-27 17:33:43 | ocean-city | link | issue5385 messages |
2009-02-27 17:33:43 | ocean-city | create | |
|