Merge pull request #5213 from radarhere/cve_number

Corrected CVE number
This commit is contained in:
Hugo van Kemenade 2021-01-21 10:27:02 +02:00 committed by GitHub
commit 97b57e118e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@ class PcxImageFile(ImageFile.ImageFile):
self._size = bbox[2] - bbox[0], bbox[3] - bbox[1]
# don't trust the passed in stride. Calculate for ourselves.
# CVE-2020-35655
# CVE-2020-35653
stride = (self._size[0] * bits + 7) // 8
stride += stride % 2