mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-10 08:30:49 +03:00
Merge pull request #5213 from radarhere/cve_number
Corrected CVE number
This commit is contained in:
commit
97b57e118e
|
@ -111,7 +111,7 @@ class PcxImageFile(ImageFile.ImageFile):
|
||||||
self._size = bbox[2] - bbox[0], bbox[3] - bbox[1]
|
self._size = bbox[2] - bbox[0], bbox[3] - bbox[1]
|
||||||
|
|
||||||
# don't trust the passed in stride. Calculate for ourselves.
|
# don't trust the passed in stride. Calculate for ourselves.
|
||||||
# CVE-2020-35655
|
# CVE-2020-35653
|
||||||
stride = (self._size[0] * bits + 7) // 8
|
stride = (self._size[0] * bits + 7) // 8
|
||||||
stride += stride % 2
|
stride += stride % 2
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user