Commit Graph

143 Commits

Author SHA256 Message Date
Ana Guerrero
cdb0b7f6f9 Accepting request 1180336 from graphics
- Backport patch to fix PAC/BTI support on aarch64:
  * 563.patch (forwarded request 1180119 from Guillaume_G)

OBS-URL: https://build.opensuse.org/request/show/1180336
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=55
2024-06-14 16:57:12 +00:00
dcba818b5c - Backport patch to fix PAC/BTI support on aarch64:
* 563.patch

OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=146
2024-06-13 08:50:42 +00:00
Ana Guerrero
5350362fc7 Accepting request 1155898 from graphics
- version update to 1.6.43
  * Fixed the row width check in png_check_IHDR().
    This corrected a bug that was specific to the 16-bit platforms,
    and removed a spurious compiler warning from the 64-bit builds.
    (Reported by Jacek Caban; fixed by John Bowler)
  * Added eXIf chunk support to the push-mode reader in pngpread.c.
    (Contributed by Chris Blume)
  * Added contrib/pngexif for the benefit of the users who would like
    to inspect the content of eXIf chunks.
  * Added contrib/conftest/basic.dfa, a basic build-time configuration.
    (Contributed by John Bowler)
  * Fixed a preprocessor condition in pngread.c that broke build-time
    configurations like contrib/conftest/pngcp.dfa.
    (Contributed by John Bowler)
  * Added CMake build support for LoongArch LSX.
    (Contributed by GuXiWei)
  * Fixed a CMake build error that occurred under a peculiar state of the
    dependency tree. This was a regression introduced in libpng-1.6.41.
    (Contributed by Dan Rosser)
  * Marked the installed libpng headers as system headers in CMake.
    (Contributed by Benjamin Buch)
  * Updated the build support for RISCOS.
    (Contributed by Cameron Cawley)
  * Updated the makefiles to allow cross-platform builds to initialize
    conventional make variables like AR and ARFLAGS.
  * Added various improvements to the CI scripts in areas like version
    consistency verification and text linting.
  * Added version consistency verification to pngtest.c also.

OBS-URL: https://build.opensuse.org/request/show/1155898
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=54
2024-03-08 17:07:47 +00:00
d4ab427613 checkin
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=144
2024-03-07 12:37:01 +00:00
Ana Guerrero
7667049c2a Accepting request 1147522 from graphics
Update libpng to 1.6.42 (forwarded request 1147257 from yannboyer_dev)

OBS-URL: https://build.opensuse.org/request/show/1147522
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=53
2024-02-21 16:51:51 +00:00
6865cc196b Accepting request 1147257 from home:yannboyer_dev
Update libpng to 1.6.42

OBS-URL: https://build.opensuse.org/request/show/1147257
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=142
2024-02-19 08:38:22 +00:00
Ana Guerrero
f68739b3f7 Accepting request 1138083 from graphics
- fixes [bsc#1121624] CVE-2019-6129 and [bsc#1124211] CVE-2019-7317

OBS-URL: https://build.opensuse.org/request/show/1138083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=52
2024-01-12 22:44:17 +00:00
6a2e844fb9 - fixes [bsc#1121624] CVE-2019-6129 and [bsc#1124211] CVE-2019-7317
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=140
2024-01-11 09:14:22 +00:00
Dominique Leuenberger
d32cd36eea Accepting request 1094850 from graphics
- Update to version 1.6.40:
  * Fixed the eXIf chunk multiplicity checks.
  * Fixed a memory leak in pCAL processing.
  * Corrected the validity report about tRNS inside png_get_valid().
  * Fixed various build issues on *BSD, Mac and Windows.
  * Updated the configurations and the scripts for continuous integration.
  * Cleaned up the code, the build scripts, and the documentation. (forwarded request 1094720 from pluskalm)

OBS-URL: https://build.opensuse.org/request/show/1094850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=51
2023-06-24 18:13:31 +00:00
65cbf1f0a9 Accepting request 1094720 from home:pluskalm:branches:graphics
- Update to version 1.6.40:
  * Fixed the eXIf chunk multiplicity checks.
  * Fixed a memory leak in pCAL processing.
  * Corrected the validity report about tRNS inside png_get_valid().
  * Fixed various build issues on *BSD, Mac and Windows.
  * Updated the configurations and the scripts for continuous integration.
  * Cleaned up the code, the build scripts, and the documentation.

OBS-URL: https://build.opensuse.org/request/show/1094720
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=138
2023-06-23 10:55:10 +00:00
Dominique Leuenberger
3946498b5d Accepting request 1087176 from graphics
- do not use NEON instructions [bsc#1211176]

OBS-URL: https://build.opensuse.org/request/show/1087176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=50
2023-05-16 12:15:47 +00:00
e7ad2c9d7b - do not use NEON instructions [bsc#1211176]
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=136
2023-05-15 07:31:22 +00:00
Dominique Leuenberger
dc50fe740a Accepting request 1080488 from graphics
- Fix license tag to libpng-2.0. (forwarded request 1080481 from fcrozat)

OBS-URL: https://build.opensuse.org/request/show/1080488
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=49
2023-04-21 12:15:44 +00:00
7f2791a459 Accepting request 1080481 from home:fcrozat:branches:graphics
- Fix license tag to libpng-2.0.

OBS-URL: https://build.opensuse.org/request/show/1080481
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=134
2023-04-20 07:31:42 +00:00
Dominique Leuenberger
d303d46d33 Accepting request 1062455 from graphics
- Fix build: some*.la files are symlinks. Adjust spec to use
   find -type f,l (forwarded request 1062444 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1062455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=48
2023-02-02 17:07:37 +00:00
8fab1a6c5e Accepting request 1062444 from home:dimstar:Factory
- Fix build: some*.la files are symlinks. Adjust spec to use
   find -type f,l

OBS-URL: https://build.opensuse.org/request/show/1062444
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=132
2023-02-01 13:25:02 +00:00
7ba6a54afe Accepting request 1062412 from home:dirkmueller:Factory
- switch to pkgconfig(zlib) to allow alternative providers as well
- build with glibc hwcaps optimized libs

OBS-URL: https://build.opensuse.org/request/show/1062412
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=131
2023-02-01 09:28:53 +00:00
Dominique Leuenberger
4e82b1b65e Accepting request 1038197 from graphics
- Update to version 1.6.39:
  * cmake: Default to PNG_ARM_NEON=off for arm targets.
  + Turn large PNG chunks into benign errors.
  + Update, rename and clean up various scripts.
  + tools: Fix a buffer overflow involving a file name in pngfix.
  + tools: Fix a memory leak in pngcp. (forwarded request 1038184 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1038197
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=47
2022-11-26 17:45:07 +00:00
85fafee4d4 Accepting request 1038184 from home:dimstar:Factory
- Update to version 1.6.39:
  * cmake: Default to PNG_ARM_NEON=off for arm targets.
  + Turn large PNG chunks into benign errors.
  + Update, rename and clean up various scripts.
  + tools: Fix a buffer overflow involving a file name in pngfix.
  + tools: Fix a memory leak in pngcp.

OBS-URL: https://build.opensuse.org/request/show/1038184
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=129
2022-11-25 12:19:00 +00:00
Dominique Leuenberger
d69bcdca2d Accepting request 1007169 from graphics
OBS-URL: https://build.opensuse.org/request/show/1007169
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=46
2022-10-03 11:44:20 +00:00
Stephan Kulow
2dd89d15a5 Accepting request 1007088 from home:dirkmueller:Factory
- update to 1.6.38:
  * Added configurations and scripts for continuous integration.
  * Fixed various errors in the handling of tRNS, hIST and eXIf.
  * Implemented many stability improvements across all platforms.
  * Updated the internal documentation.

OBS-URL: https://build.opensuse.org/request/show/1007088
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=127
2022-09-30 07:03:18 +00:00
Dominique Leuenberger
be71ef1692 Accepting request 976272 from graphics
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/976272
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=45
2022-05-12 20:58:12 +00:00
b5e69da6cc - switch source url to https
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=125
2022-05-04 09:10:56 +00:00
Dominique Leuenberger
248fcca93e Accepting request 890905 from graphics
- install rpm macros in %{_rpmmacrodir} [bsc#1185661]
- call spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/890905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=44
2021-05-08 20:07:10 +00:00
49208e9728 OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=123 2021-05-06 07:41:07 +00:00
d9882e71dd - install rpm macros in %{_rpmmacrodir} [bsc#1185661]
- call spec-cleaner

OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=122
2021-05-06 06:53:29 +00:00
Richard Brown
b23e801a3b Accepting request 878473 from graphics
Enable SSE optimizations. They are not enabled by default in configure-based builds (see the INSTALL file). (forwarded request 878383 from llunak)

OBS-URL: https://build.opensuse.org/request/show/878473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=43
2021-03-16 14:43:42 +00:00
53b8c15b0b Accepting request 878383 from home:llunak:branches:graphics
Enable SSE optimizations. They are not enabled by default in configure-based builds (see the INSTALL file).

OBS-URL: https://build.opensuse.org/request/show/878383
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=120
2021-03-12 07:30:35 +00:00
Dominique Leuenberger
edf2d65594 Accepting request 694940 from graphics
- make check actually works under asan

- version update to 1.6.37
  Fixed a use-after-free vulnerability (CVE-2019-7317) in png_image_free.
  Fixed a memory leak in the ARM NEON implementation of png_do_expand_palette.
  Fixed a memory leak in pngtest.c.
  Fixed two vulnerabilities (CVE-2018-14048, CVE-2018-14550) in
    contrib/pngminus; refactor.
  Changed the license of contrib/pngminus to MIT; refresh makefile and docs.
    (Contributed by Willem van Schaik)
  Added makefiles for AddressSanitizer-enabled builds.
- deleted patches
  - libpng-arm-free.patch (upstreamed)

OBS-URL: https://build.opensuse.org/request/show/694940
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=42
2019-04-18 11:57:46 +00:00
7550ad9f8d - make check actually works under asan
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=118
2019-04-17 06:29:38 +00:00
94fadb06fa - version update to 1.6.37
Fixed a use-after-free vulnerability (CVE-2019-7317) in png_image_free.
  Fixed a memory leak in the ARM NEON implementation of png_do_expand_palette.
  Fixed a memory leak in pngtest.c.
  Fixed two vulnerabilities (CVE-2018-14048, CVE-2018-14550) in
    contrib/pngminus; refactor.
  Changed the license of contrib/pngminus to MIT; refresh makefile and docs.
    (Contributed by Willem van Schaik)
  Added makefiles for AddressSanitizer-enabled builds.
- deleted patches
  - libpng-arm-free.patch (upstreamed)

OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=117
2019-04-15 15:03:17 +00:00
Stephan Kulow
003ccb84a9 Accepting request 669458 from graphics
- fix arm build [bsc#1121829]
  + libpng-arm-free.patch

- asan_build: build ASAN included
- debug_build: build more suitable for debugging, install pngcp

OBS-URL: https://build.opensuse.org/request/show/669458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=41
2019-02-04 20:24:19 +00:00
b7377afde8 OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=115 2019-01-29 08:09:10 +00:00
774495c1ae - fix arm build [bsc#1121829]
+ libpng-arm-free.patch

OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=114
2019-01-28 11:50:38 +00:00
2642e3f1d9 - asan_build: build ASAN included
- debug_build: build more suitable for debugging, install pngcp

OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=113
2019-01-14 14:31:27 +00:00
Dominique Leuenberger
1ac70aeccb Accepting request 662196 from graphics
- update to 1.6.36:
   Replaced the remaining uses of png_size_t with size_t (Cosmin)
    Fixed the calculation of row_factor in png_check_chunk_length
      (reported by Thuan Pham in SourceForge issue #278)
    Added missing parentheses to a macro definition
      (suggested by "irwir" in GitHub issue #216)
    Optimized png_do_expand_palette for ARM processors.
    Improved performance by around 10-22% on a recent ARM Chromebook.
    (Contributed by Richard Townsend, ARM Holdings)
    Fixed manipulation of machine-specific optimization options.
    (Contributed by Vicki Pfau)
    Used memcpy instead of manual pointer arithmetic on Intel SSE2.
    (Contributed by Samuel Williams)
    Fixed build errors with MSVC on ARM64.
    (Contributed by Zhijie Liang)
    Fixed detection of libm in CMakeLists.
    (Contributed by Cameron Cawley)
    Fixed incorrect creation of pkg-config file in CMakeLists.
    (Contributed by Kyle Bentley)
    Fixed the CMake build on Windows MSYS by avoiding symlinks.
    Fixed a build warning on OpenBSD.
    (Contributed by Theo Buehler)
    Fixed various typos in comments.
    (Contributed by "luz.paz")
    Raised the minimum required CMake version from 3.0.2 to 3.1.
    Removed yet more of the vestigial support for pre-ANSI C compilers.
    Removed ancient makefiles for ancient systems that have been broken
    across all previous libpng-1.6.x versions.
    Removed the Y2K compliance statement and the export control
    information.

OBS-URL: https://build.opensuse.org/request/show/662196
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=40
2019-01-03 17:05:24 +00:00
7d96e07570 - update to 1.6.36:
Replaced the remaining uses of png_size_t with size_t (Cosmin)
    Fixed the calculation of row_factor in png_check_chunk_length
      (reported by Thuan Pham in SourceForge issue #278)
    Added missing parentheses to a macro definition
      (suggested by "irwir" in GitHub issue #216)
    Optimized png_do_expand_palette for ARM processors.
    Improved performance by around 10-22% on a recent ARM Chromebook.
    (Contributed by Richard Townsend, ARM Holdings)
    Fixed manipulation of machine-specific optimization options.
    (Contributed by Vicki Pfau)
    Used memcpy instead of manual pointer arithmetic on Intel SSE2.
    (Contributed by Samuel Williams)
    Fixed build errors with MSVC on ARM64.
    (Contributed by Zhijie Liang)
    Fixed detection of libm in CMakeLists.
    (Contributed by Cameron Cawley)
    Fixed incorrect creation of pkg-config file in CMakeLists.
    (Contributed by Kyle Bentley)
    Fixed the CMake build on Windows MSYS by avoiding symlinks.
    Fixed a build warning on OpenBSD.
    (Contributed by Theo Buehler)
    Fixed various typos in comments.
    (Contributed by "luz.paz")
    Raised the minimum required CMake version from 3.0.2 to 3.1.
    Removed yet more of the vestigial support for pre-ANSI C compilers.
    Removed ancient makefiles for ancient systems that have been broken
    across all previous libpng-1.6.x versions.
    Removed the Y2K compliance statement and the export control
    information.

OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=111
2018-12-31 09:48:16 +00:00
Dominique Leuenberger
39ea93d749 Accepting request 626863 from graphics
- security update:
  * CVE-2018-13785 [bsc#1100687]
    + libpng16-CVE-2018-13785.patch

OBS-URL: https://build.opensuse.org/request/show/626863
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=39
2018-08-07 07:39:30 +00:00
017efe162c - security update:
* CVE-2018-13785 [bsc#1100687]
    + libpng16-CVE-2018-13785.patch

OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=109
2018-08-01 08:04:03 +00:00
Dominique Leuenberger
b2d60cd160 Accepting request 573091 from graphics
- %{libname} package provides libpng = %{version} again 
  [bsc#1079342]

OBS-URL: https://build.opensuse.org/request/show/573091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=38
2018-02-09 14:43:21 +00:00
b4f19dc98b - %{libname} package provides libpng = %{version} again
[bsc#1079342]

OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=107
2018-02-05 15:36:37 +00:00
Dominique Leuenberger
9ffc4f8852 Accepting request 571330 from graphics
- check with -j1

- Fix SRPM group and grammar issues.

- removed obsoleted Obsoletes

- update to 1.6.34:
  * Removed contrib/pngsuite/i*.png; some of these were incorrect
    and caused test failures.
- includes 1.6.33:
  * Added PNGMINUS_UNUSED macro to contrib/pngminus/p*.c and added
    missing parenthesis in contrib/pngminus/pnm2png.c
  * Fixed off-by-one error in png_do_check_palette_indexes()
  * Initialize png_handler.row_ptr in libpng_read_fuzzer.cc
    to fix shortlived oss-fuzz issue 3234.
  * Compute a larger limit on IDAT because some applications write
    a deflate buffer for each row
  * Use current date (DATE) instead of release-date (RDATE) in last
    changed date of contrib/oss-fuzz files.
  * Enabled ARM support in CMakeLists.txt
  * Fixed incorrect typecast of some arguments to png_malloc() and
    png_calloc() that were png_uint_32 instead of png_alloc_size_t
  * Use pnglibconf.h.prebuilt when building for ANDROID with cmake
  * Initialize memory allocated by png_inflate to zero, using
    memset, to stop an oss-fuzz "use of uninitialized value"
    detection in png_set_text_2() due to truncated iTXt or zTXt
    chunk.
  * Initialize memory allocated by png_read_buffer to zero, using
    memset, to stop an oss-fuzz "use of uninitialized value"
    detection in png_icc_check_tag_table() due to truncated iCCP

OBS-URL: https://build.opensuse.org/request/show/571330
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=37
2018-02-01 20:26:04 +00:00
dae74ca9f5 - check with -j1
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=105
2018-01-31 09:58:12 +00:00
967757aa6d Accepting request 571243 from home:jengelh:branches:graphics
- Fix SRPM group and grammar issues.

OBS-URL: https://build.opensuse.org/request/show/571243
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=104
2018-01-31 08:52:07 +00:00
cb9da2686a - removed obsoleted Obsoletes
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=103
2018-01-30 15:32:56 +00:00
e4eeecccf9 Accepting request 570288 from home:avindra
- update to 1.6.34:
  * Removed contrib/pngsuite/i*.png; some of these were incorrect
    and caused test failures.
- includes 1.6.33:
  * Added PNGMINUS_UNUSED macro to contrib/pngminus/p*.c and added
    missing parenthesis in contrib/pngminus/pnm2png.c
  * Fixed off-by-one error in png_do_check_palette_indexes()
  * Initialize png_handler.row_ptr in libpng_read_fuzzer.cc
    to fix shortlived oss-fuzz issue 3234.
  * Compute a larger limit on IDAT because some applications write
    a deflate buffer for each row
  * Use current date (DATE) instead of release-date (RDATE) in last
    changed date of contrib/oss-fuzz files.
  * Enabled ARM support in CMakeLists.txt
  * Fixed incorrect typecast of some arguments to png_malloc() and
    png_calloc() that were png_uint_32 instead of png_alloc_size_t
  * Use pnglibconf.h.prebuilt when building for ANDROID with cmake
  * Initialize memory allocated by png_inflate to zero, using
    memset, to stop an oss-fuzz "use of uninitialized value"
    detection in png_set_text_2() due to truncated iTXt or zTXt
    chunk.
  * Initialize memory allocated by png_read_buffer to zero, using
    memset, to stop an oss-fuzz "use of uninitialized value"
    detection in png_icc_check_tag_table() due to truncated iCCP
    chunk.
  * Removed redundant tests
  * Added an interlaced version of each file in contrib/pngsuite.
  * Relocate new memset() call in pngrutil.c
  * Add support for loading images with associated alpha in the
    Simplified API
  * Revert contrib/oss-fuzz/libpng_read_fuzzer.cc to libpng-1.6.32
    state
  * Initialize png_handler.row_ptr in libpng_read_fuzzer.cc
  * Add end_info structure and png_read_end() to the libpng fuzzer
- includes 1.6.32:
  * Avoid possible NULL dereference in png_handle_eXIf when
    benign_errors are allowed. Avoid leaking the input buffer
    "eXIf_buf".
  * Eliminated png_ptr->num_exif member from pngstruct.h and added
    num_exif to arguments for png_get_eXIf() and png_set_eXIf().
  * Added calls to png_handle_eXIf(() in pngread.c and
    png_write_eXIf() in pngwrite.c, and made various other fixes
    to png_write_eXIf().
  * Changed name of png_get_eXIF and png_set_eXIf() to
    png_get_eXIf_1() and png_set_eXIf_1(), respectively, to avoid
    breaking API compatibility with libpng-1.6.31.
  * Updated contrib/libtests/pngunknown.c with eXIf chunk.
  * Initialized btoa[] in pngstest.c
  * Stop memory leak when returning from png_handle_eXIf() with an
    error
  * Replaced local eXIf_buf with info_ptr-eXIf_buf in png_handle_eXIf().
  * Update libpng.3 and libpng-manual.txt about eXIf functions.
  * Restored png_get_eXIf() and png_set_eXIf() to maintain API
    compatability.
  * Removed png_get_eXIf_1() and png_set_eXIf_1().
  * Check length of all chunks except IDAT against user limit to
    fix an OSS-fuzz issue (Fixes CVE-2017-12652)
  * Check length of IDAT against maximum possible IDAT size,
    accounting for height, rowbytes, interlacing and zlib/deflate
    overhead.
  * Restored png_get_eXIf_1() and png_set_eXIf_1(), because
    strlen(eXIf_buf) does not work (the eXIf chunk data can
    contain zeroes).
  * Revised symlink creation, no longer using deprecated cmake
    LOCATION feature
  * Fixed five-byte error in the calculation of IDAT maximum
    possible size.
  * Moved chunk-length check into a png_check_chunk_length()
    private function
  * Moved bad pngs from tests to contrib/libtests/crashers
  * Moved testing of bad pngs into a separate
    tests/pngtest-badpngs script
  * Added the --xfail (expected FAIL) option to pngtest.c. It
    writes XFAIL in the output but PASS for the libpng test.
  * Require cmake-3.0.2 in CMakeLists.txt
  * Fix "const" declaration info_ptr argument to png_get_eXIf_1()
    and the num_exif argument to png_get_eXIf_1()
  * Added "eXIf" to "chunks_to_ignore[]" in png_set_keep_unknown_chunks().
  * Added huge_IDAT.png and empty_ancillary_chunks.png to
    testpngs/crashers.
  * Make pngtest --strict, --relax, --xfail options imply -m
    (multiple).
  * Removed unused chunk_name parameter from png_check_chunk_length().
  * Relocated setting free_me for eXIf data, to stop an OSS-fuzz'
    leak.
  * Initialize profile_header[] in png_handle_iCCP() to fix
    OSS-fuzz issue.
  * Initialize png_ptr->row_buf[0] to 255 in png_read_row() to fix
    OSS-fuzz UMR.
  * Attempt to fix a UMR in png_set_text_2() to fix OSS-fuzz issue.
  * Increase minimum zlib stream from 9 to 14 in png_handle_iCCP(),
    to account for the minimum 'deflate' stream, and relocate the
    test to a point after the keyword has been read.
  * Check that the eXIf chunk has at least 2 bytes and begins with
    "II" or "MM".
  * Added a set of "huge_xxxx_chunk.png" files to
    contrib/testpngs/crashers, one for each known chunk type, with
    length = 2GB-1.
  * Check for 0 return from png_get_rowbytes() and added some
    (size_t) typecasts in contrib/pngminus/*.c to stop some Coverity
    issues (162705, 162706, and 162707).
  * Renamed chunks in contrib/testpngs/crashers to avoid having
    files whose names differ only in case; this causes problems with
    some platforms
  * Added contrib/oss-fuzz directory which contains files used by
    the oss-fuzz project
- cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/570288
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=102
2018-01-29 06:59:18 +00:00
Yuchen Lin
096fdd65d9 Accepting request 514898 from graphics
- update to 1.6.31:
  * Guard the definition of _POSIX_SOURCE in pngpriv.h.
  * Revised pngpriv.h to work around failure to compile 
    arm/filter_neon.S.
  * Added "Requires: zlib" to libpng.pc.in.
  * Added special case for FreeBSD in arm/filter_neon.S.
  * Changed "int" to "png_size_t" in intel/filter_sse2.c to prevent
    possible integer overflow.
  * Added eXIf chunk support.
- remove upstreamed
  0001-libpng16-Revised-pngpriv.h-to-use-PNG_VERSION_INFO_O.patch

OBS-URL: https://build.opensuse.org/request/show/514898
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=36
2017-08-12 17:42:48 +00:00
4f461efd3c - update to 1.6.31:
* Guard the definition of _POSIX_SOURCE in pngpriv.h.
  * Revised pngpriv.h to work around failure to compile 
    arm/filter_neon.S.
  * Added "Requires: zlib" to libpng.pc.in.
  * Added special case for FreeBSD in arm/filter_neon.S.
  * Changed "int" to "png_size_t" in intel/filter_sse2.c to prevent
    possible integer overflow.
  * Added eXIf chunk support.
- remove upstreamed
  0001-libpng16-Revised-pngpriv.h-to-use-PNG_VERSION_INFO_O.patch

OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=100
2017-08-07 09:56:16 +00:00
Dominique Leuenberger
80e8487821 Accepting request 511589 from graphics
1

OBS-URL: https://build.opensuse.org/request/show/511589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpng16?expand=0&rev=35
2017-07-30 09:25:32 +00:00
Ismail Dönmez
d230136457 Accepting request 511457 from home:StefanBruens:branches:graphics
OBS-URL: https://build.opensuse.org/request/show/511457
OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=98
2017-07-20 09:32:06 +00:00