Python Imaging Library (Fork)
Go to file
Ilaï Deutel 596e80c654
WebP: Fix memory leak during decoding on failure
When creating the `WebPAnimDecoder` object, we create a `WebPAnimDecoderObject` and populate its data using `WebPDataCopy()`.

Subsequently, if either `WebPAnimDecoderNew()` or `WebPAnimDecoderGetInfo()` fails, data is not currently deallocated. This commit clears the decoder object's data in that situation.
2021-10-28 18:15:43 +00:00
.ci Install numpy on Python 3.10 2021-09-06 07:36:40 +10:00
.github Merge pull request #5778 from hugovk/add-pypy-3.8 2021-10-19 11:27:51 +11:00
depends Rename master to main 2021-10-15 17:30:05 +03:00
docs Merge pull request #5792 from radarhere/display_title 2021-10-25 12:03:42 +03:00
src WebP: Fix memory leak during decoding on failure 2021-10-28 18:15:43 +00:00
Tests Updated image comparison 2021-10-19 16:08:23 +11:00
winbuild Updated fribidi to 1.0.11 2021-09-24 08:36:57 +10:00
.appveyor.yml Rename master to main 2021-10-15 17:30:05 +03:00
.clang-format Adjust clang-format style 2021-01-03 14:16:42 +11:00
.coveragerc Removed unnecessary line 2020-01-03 16:40:31 +11:00
.editorconfig Remove duplicate line [CI skip] 2016-09-03 12:37:47 +03:00
.gitattributes Set EPS test files as binary 2018-12-29 21:53:07 -08:00
.gitignore Ignore new test_images file 2021-08-24 11:20:09 +03:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate 2021-10-04 16:54:25 +00:00
.readthedocs.yml Install project using pip in ReadTheDocs build 2018-10-24 19:46:43 +11:00
CHANGES.rst Merge pull request #5779 from hugovk/update-expected-pillow-10-release-date 2021-10-25 12:57:20 +11:00
codecov.yml Allow 0.01% drop in coverage 2020-03-29 12:34:00 +11:00
conftest.py Declare helper as a pytest plugin so asserts aren't ignored with PYTHONOPTIMIZE 2020-02-02 12:26:01 +02:00
LICENSE Updated copyright year 2021-01-01 00:05:47 +11:00
Makefile Replace 'setup.py sdist' with '-m build --sdist' 2021-10-22 12:01:42 +03:00
MANIFEST.in Add clang-format style that approximates Python's PEP 7 from pganssle/zoneinfo 2021-01-03 14:16:42 +11:00
README.md Rename master to main 2021-10-15 17:30:05 +03:00
RELEASING.md Rename master to main 2021-10-15 17:30:05 +03:00
requirements.txt Temporarily pin docutils to fix bullets in sphinx_rtd_theme 2021-09-07 17:00:47 +03:00
selftest.py Moved _info function into docstring 2021-09-13 17:14:59 +10:00
setup.cfg Use declarative package configuration 2021-10-21 09:41:34 +03:00
setup.py Use declarative package configuration 2021-10-21 09:41:34 +03:00
tox.ini Add support for Python 3.10 2021-07-01 13:29:44 +03:00

Pillow logo

Pillow

Python Imaging Library (Fork)

Pillow is the friendly PIL fork by Alex Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and Contributors. As of 2019, Pillow development is supported by Tidelift.

docs Documentation Status
tests GitHub Actions build status (Lint) GitHub Actions build status (Test Linux and macOS) GitHub Actions build status (Test Windows) GitHub Actions build status (Test Docker) AppVeyor CI build status (Windows) GitHub Actions wheels build status (Wheels) Travis CI wheels build status (aarch64) Code coverage
package Zenodo Tidelift Newest PyPI version Number of PyPI downloads
social Join the chat at https://gitter.im/python-pillow/Pillow Follow on https://twitter.com/PythonPillow

Overview

The Python Imaging Library adds image processing capabilities to your Python interpreter.

This library provides extensive file format support, an efficient internal representation, and fairly powerful image processing capabilities.

The core image library is designed for fast access to data stored in a few basic pixel formats. It should provide a solid foundation for a general image processing tool.

More Information

Report a Vulnerability

To report a security vulnerability, please follow the procedure described in the Tidelift security policy.