Created attachment 167845 [details] patch for update Changelog:
Forgot to paste changelog: * Made "-reduce" and "-force" the default behavior. Removed obsolete options "-plte_len", "-cc", "-nocc", "-double_gamma", "-already_crushed", and "-bit_depth". Removed "things_have_changed" code. * Deleted png_read_update_info() statement that was mistakenly added to version 1.7.89. It caused "bad adaptive filter value" errors. * Suppress warning about "damaged LZ stream" when bailing out and building with libpng-1.7.0beta. * Added a LICENSE file to the distribution. It points to the actual license appearing in the NOTICES section near the top of pngcrush.c * Show if pngcrush is built with bundled or system libpng and zlib. * Fixed segfault while writing a -loco MNG (bug found with AFL, reported by Brian Carpenter). Bug was introduced in pngcrush-1.7.35.
Created attachment 167846 [details] stage & qa log
A commit references this bug: Author: rakuco Date: Sat Mar 12 12:12:11 UTC 2016 New revision: 410872 URL: https://svnweb.freebsd.org/changeset/ports/410872 Log: Update to 1.8.0. Changelog: * Made "-reduce" and "-force" the default behavior. Removed obsolete options "-plte_len", "-cc", "-nocc", "-double_gamma", "-already_crushed", and "-bit_depth". Removed "things_have_changed" code. * Deleted png_read_update_info() statement that was mistakenly added to version 1.7.89. It caused "bad adaptive filter value" errors. * Suppress warning about "damaged LZ stream" when bailing out and building with libpng-1.7.0beta. * Added a LICENSE file to the distribution. It points to the actual license appearing in the NOTICES section near the top of pngcrush.c * Show if pngcrush is built with bundled or system libpng and zlib. * Fixed segfault while writing a -loco MNG (bug found with AFL, reported by Brian Carpenter). Bug was introduced in pngcrush-1.7.35. PR: 207801 Submitted by: Anton Sayetsky <vsasjason@gmail.com> (maintainer) Changes: head/graphics/pngcrush/Makefile head/graphics/pngcrush/distinfo
Committed, thanks.