diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-05-13 19:12:24 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-05-13 19:18:54 +0200 |
| commit | ea962375255190b5e641783ff193cff06ff616c6 (patch) | |
| tree | e52f0b1f7f7a2d36d8267449d6739cf210a4aaa7 /png/libpng.3 | |
| parent | 1325a257bf2784d32c6d2840be7b9a5e23b82116 (diff) | |
Update bundled libpng from 1.6.42 to 1.6.43
Diffstat (limited to 'png/libpng.3')
| -rw-r--r-- | png/libpng.3 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/png/libpng.3 b/png/libpng.3 index 57d06f2db..45e76e483 100644 --- a/png/libpng.3 +++ b/png/libpng.3 @@ -1,6 +1,6 @@ -.TH LIBPNG 3 "January 29, 2024" +.TH LIBPNG 3 "February 23, 2024" .SH NAME -libpng \- Portable Network Graphics (PNG) Reference Library 1.6.42 +libpng \- Portable Network Graphics (PNG) Reference Library 1.6.43 .SH SYNOPSIS \fB#include <png.h>\fP @@ -528,7 +528,7 @@ libpng-manual.txt - A description on how to use and modify libpng Based on: - libpng version 1.6.36, December 2018, through 1.6.42 - January 2024 + libpng version 1.6.36, December 2018, through 1.6.43 - February 2024 Updated and distributed by Cosmin Truta Copyright (c) 2018-2024 Cosmin Truta @@ -1697,11 +1697,11 @@ where row_pointers is an array of pointers to the pixel data for each row: If you know your image size and pixel size ahead of time, you can allocate row_pointers prior to calling png_read_png() with - if (height > PNG_UINT_32_MAX/(sizeof (png_byte))) + if (height > PNG_UINT_32_MAX / (sizeof (png_bytep))) png_error(png_ptr, "Image is too tall to process in memory"); - if (width > PNG_UINT_32_MAX/pixel_size) + if (width > PNG_UINT_32_MAX / pixel_size) png_error(png_ptr, "Image is too wide to process in memory"); |
