commit | 062bed289bd2806815203add22d134762bcfbcc3 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sun May 31 09:05:10 2015 +0300 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Sun May 31 09:05:10 2015 +0300 |
tree | 0dbed218a126b54e53d41ff8534afe14f86c7a6d | |
parent | d6bfa94493b897f45ab939208a4a54a259a530e8 [diff] [blame] |
Issue #24264: Fixed buffer overflow in the imageop module.
diff --git a/Lib/test/test_imageop.py b/Lib/test/test_imageop.py index 31edbd1..9589bf2 100644 --- a/Lib/test/test_imageop.py +++ b/Lib/test/test_imageop.py
@@ -61,7 +61,9 @@ self.check("rgb82rgb") self.check("rgb2grey") self.check("grey2rgb") - + # Issue #24264: Buffer overflow + with self.assertRaises(imageop.error): + imageop.grey2rgb('A'*256, 1, 129) def test_main():