Package: libpng1.6 / 1.6.36-6

Metadata

Package Version Patches format
libpng1.6 1.6.36-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
libpng config.patch | (download)

libpng-config.in | 9 6 + 3 - 0 !
scripts/libpng-config-body.in | 4 3 + 1 - 0 !
2 files changed, 9 insertions(+), 4 deletions(-)

 this patch is needed to strip arch-dep bits and get a multiarch -dev package.
libpng 1.6.36 apng.patch | (download)

png.h | 95 95 + 0 - 0 !
pngget.c | 162 162 + 0 - 0 !
pnginfo.h | 13 13 + 0 - 0 !
pngpread.c | 199 199 + 0 - 0 !
pngpriv.h | 55 55 + 0 - 0 !
pngread.c | 80 80 + 0 - 0 !
pngrutil.c | 290 289 + 1 - 0 !
pngset.c | 146 146 + 0 - 0 !
pngstruct.h | 21 21 + 0 - 0 !
pngtest.c | 124 124 + 0 - 0 !
pngwrite.c | 46 46 + 0 - 0 !
pngwutil.c | 139 137 + 2 - 0 !
scripts/symbols.def | 20 20 + 0 - 0 !
13 files changed, 1387 insertions(+), 3 deletions(-)

---
70d122aac42933ab8a708c538f973c3307853212.patch | (download)

arm/palette_neon_intrinsics.c | 26 10 + 16 - 0 !
pngpriv.h | 10 5 + 5 - 0 !
pngread.c | 8 7 + 1 - 0 !
pngrtran.c | 72 38 + 34 - 0 !
pngstruct.h | 12 7 + 5 - 0 !
pngwrite.c | 6 1 + 5 - 0 !
6 files changed, 68 insertions(+), 66 deletions(-)

 [patch] fix a memory leak in the riffled palette optimization on arm;
 refactor

Move deallocation of riffled_palette from png_write_destroy to
png_read_destroy. The reader (not the writer) is the owner of
riffled_palette.

Move allocation and initialization of riffled_palette from
png_do_read_transformations to png_init_palette_transformations.

Allow riffled_palette inside png_struct only if the ARM Neon
optimizations are enabled.

Rename png_riffle_palette_rgba to png_riffle_palette_rgba8, etc.,
to better indicate the strict applicability of these routines.

Fix an unused parameter warning in the build configurations where
riffled palette optimization is not enabled.

Fix indentation.

8439534daa1d3a5705ba92e653eda9251246dd61.patch | (download)

pngtest.c | 8 5 + 3 - 0 !
1 file changed, 5 insertions(+), 3 deletions(-)

 [patch] fix a memory leak in pngtest.c

Ensure that row_buf is deallocated not only after a read error, but
also after a write error.

Use the format "%p" instead of "0x%08lx" for printf-ing row_buf in
a portable manner.

CVE 2019 7317.patch | (download)

png.c | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 fix for cve-2019-7317
82ae623ec9bc3cb5c68aad22596a766e86d593b7.patch | (download)

arm/palette_neon_intrinsics.c | 12 9 + 3 - 0 !
pngpriv.h | 6 3 + 3 - 0 !
pngrtran.c | 6 3 + 3 - 0 !
3 files changed, 15 insertions(+), 9 deletions(-)

 [patch] arm: rename all functions to the pattern png_*_neon; add
 debug traces


a627bd26a375f5c41d54f90a47c838157d1bec97.patch | (download)

pngrtran.c | 30 14 + 16 - 0 !
1 file changed, 14 insertions(+), 16 deletions(-)

 [patch] arm: partially revert "fix a memory leak in the riffled
 palette [...]"

The memory leak remains fixed, but the associated refactoring is
being reverted. Moving the initialization of the riffled palette
from png_do_read_transformations to png_init_palette_transformations
has caused a regression in some of the test programs.

Although png_init_palette_transformations is the proper place to
perform this initialization, and the test programs are technically
incorrect to fail, we are still undoing that refactoring for the
time being.