STINNER Victor <[EMAIL PROTECTED]> added the comment: When I wrote my patch to fix division by zero (and detection of -n * -n overflow), I also wrote a script to test imageop module. I fixed the limit of the input string to 1024 bytes, and so the rgb crash was not detected. Here is my script with a limit of 2^20 bytes which raise the crash. With the patch, there are no more crash ;-)
Added file: http://bugs.python.org/file12038/test_imageop.py _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4317> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com