libpng
libpng copied to clipboard
LIBPNG: Portable Network Graphics support, official libpng repository
Hi @ctruta , @jbowler , thanks to the issue #424 we have noticed that the `oss-fuzz` support is a little bit of date and user might not find super easy...
When [cross-compiling for iOS](https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling-for-ios-tvos-or-watchos), CMake does not define the `CMAKE_OSX_ARCHITECTURES` variable. As a result, [this branch](https://github.com/glennrp/libpng/blob/61bfdb0cb02a6f3a62c929dbc9e832894c0a8df2/CMakeLists.txt#L95-L123) of CMake script does not get executed, so `PNG_ARM_NEON_OPT` is not defined as well...
This was first submitted on [sourceforge](https://sourceforge.net/p/libpng/bugs/282/) but no one uses that site anymore. libpng has a corner case with the last pixel of 16-bit grayscale images when they're decoded to...
# Crash Inputs Here are the files (2 in total) that trigger the error- [crashes.zip](https://github.com/glennrp/libpng/files/9228216/crashes.zip) # Bug Description I apply MSan (Memory Sanitizer ) to check for memory errors and...
# Crash Inputs Here is the file that trigger the error [pngfix_dead_loop.zip](https://github.com/glennrp/libpng/files/9333243/pngfix_dead_loop.zip) reproduce in Ubuntu 18.04, latest libpng repo # Bug Description: When executing the pngfix program with the given...
Hi @ctruta, I have noticed that there are few functions that can be "directly" called by a user but that are lacking some checks. An example is `png_save_uint_32` ( [link](https://github.com/glennrp/libpng/blob/master/pngwutil.c)...
requesting help with gaining more coverage on OSS-Fuzz, details here: https://github.com/google/oss-fuzz/issues/2111
When I link the release version of libpng to debug build of my application and try to write a file - I get runtime heap-related asserts and exceptions. It only...
By looking at the code it seems there is no way to prevent png_read_info() from calling longjmp if a png file contains a chunk larger than the maximum defined alloc...
Is it a bug of glibc? Not sure whether it is important. The crash can be reproduced with the HEAD or the one in pngtools released in Ubuntu 18.04. [test-case.zip](https://github.com/glennrp/libpng/files/2373935/test-case.zip)...