Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-18 | Remove top-level const from function-scope variables | Cosmin Truta | |
As per the const correctness rules, top-level const-ness of data in automatic scopes does not propagate outside of these scopes (unlike const-ness at lower levels, such as pointers to const data). Previously, const was used liberally, but inconsistently across the libpng codebase. Using const wherever applicable is not incorrect. However, _consistent_ use of const is difficult to maintain in such conditions. In conclusion, we shall continue to use const only where doing so is strictly necessary: 1. If a function guarantees that it will not modify an argument passed by pointer, the corresponding function parameter should be a pointer-to-const (const T *). 2. Static data should not be modified, therefore it should be const. Reference: Google C++ Style Guide https://google.github.io/styleguide/cppguide.html#Use_of_const | |||
2018-08-18 | Replace the remaining uses of PNG_CONST with const | Cosmin Truta | |
In v1.6.0, compiler support for const became a requirement. It should be used consistently. To maintain backwards compatibility, PNG_CONST is still maintained in deprecated form. | |||
2018-07-28 | Remove the "last changed" version information from source comments | Cosmin Truta | |
This information is maintained by the version control system. | |||
2018-07-15 | Release libpng version 1.6.35 | Cosmin Truta | |
2018-06-17 | [libpng16] Fix the calculation of row_factor in png_check_chunk_length | Cosmin Truta | |
(Bug report by Thuan Pham, SourceForge issue #278) | |||
2018-06-17 | [libpng16] Replace the remaining uses of png_size_t with size_t | Cosmin Truta | |
In v1.6.0, size_t became a required type. It should be used consistently. To maintain backwards compatibility, png_size_t is still maintained in deprecated form. | |||
2018-01-07 | [libpng16] Fix potential problem with bKGD (Cosmin Truta) | Glenn Randers-Pehrson | |
2017-11-03 | Misc. typos | Unknown | |
Some are user facing. Some are in actual code. Most are in source comments. Also, please double check the changes in contrib/tools/pngfix.c | |||
2017-10-31 | [libpng16] Undo recent pngrutil.c change that did not fix oss-fuzz issue | Glenn Randers-Pehrson | |
2017-10-29 | [libpng16] Initialize trans_color.red, green, and blue == trans_color.gray | Glenn Randers-Pehrson | |
in attempt to stop an oss-fuzz "use of ininitialized value" issue | |||
2017-10-29 | [libpng16] Revert recent changes that did not help with oss-fuzz issues | Glenn Randers-Pehrson | |
2017-10-20 | [libpng16] Initialize tRNS read buffers in pngrutil.c | Glenn Randers-Pehrson | |
2017-10-17 | [libpng16] Initialize entire palette array to zero in png_handle_PLTE(). | Glenn Randers-Pehrson | |
2017-09-28 | [libpng16] Imported from libpng-1.6.33.tar | Glenn Randers-Pehrson | |
2017-09-23 | [libpng16] Fix Coverity defect regarding errmsg in pngrutil.c | Glenn Randers-Pehrson | |
2017-09-22 | [libpng16] Removed more redundant tests (suggested by "irwir" in Github ↵ | Glenn Randers-Pehrson | |
issue #180). | |||
2017-09-22 | [libpng16] Relocate new memset() call in pngrutil.c (irwir). | Glenn Randers-Pehrson | |
2017-09-20 | [libpng16] Removed a redundant test (suggested by "irwir" in Github issue #180). | Glenn Randers-Pehrson | |
2017-09-20 | [libpng16] Bump version to 1.6.33rc01 | Glenn Randers-Pehrson | |
2017-09-19 | [libpng16] Add a memset() in png_read_buffer() | Glenn Randers-Pehrson | |
2017-09-19 | [libpng16] Fix some comments | Glenn Randers-Pehrson | |
2017-09-18 | [libpng16] zero out memory allocated by png_inflate | Glenn Randers-Pehrson | |
2017-09-02 | [libpng16] Imported from libpng-1.6.33beta02.tar | Glenn Randers-Pehrson | |
2017-08-31 | [libpng16] Compute a larger limit on IDAT because some applications write a | Glenn Randers-Pehrson | |
deflate buffer for each row (Bug report by Andrew Church). | |||
2017-08-29 | [libpng16] Fix "last changed" dates | Glenn Randers-Pehrson | |
2017-08-25 | [libpng16] Bump version to 1.6.33beta01 | Glenn Randers-Pehrson | |
2017-08-24 | [libpng16] Imported from libpng-1.6.32.tar | Glenn Randers-Pehrson | |
2017-08-07 | [libpng16] Free eXIf_buf when detecting bad byte-order specifier. | Glenn Randers-Pehrson | |
2017-08-06 | Fix typo (1 should be 2) in png_handle_eXIf | Glenn Randers-Pehrson | |
2017-08-06 | [libpng16] Check that the eXIf chunk has at least 2 bytes and begins | Glenn Randers-Pehrson | |
with "II" or "MM". | |||
2017-08-06 | [libpng16] Test or 11 bytes instead of 14 after the iCCP keyword has been read. | Glenn Randers-Pehrson | |
2017-08-06 | [libpng16] Relocate the iCCP length test to a point after reading the keyword | Glenn Randers-Pehrson | |
2017-08-06 | [libpng16] Increase minimum zlib stream from 9 to 14 in png_handle_iCCP(), | Glenn Randers-Pehrson | |
to account for the minimum 'deflate' stream. | |||
2017-08-05 | [lbpng16] Attempt to fix a UMR in png_set_text_2() to fix OSS-fuzz issue. | Glenn Randers-Pehrson | |
2017-08-05 | [libpng16] Initialize profile_header[] in png_handle_iCCP() to fix OSS-fuzz ↵ | Glenn Randers-Pehrson | |
issue. | |||
2017-08-05 | [Libpng16] Relocated setting free_me for eXIf data, to stop an OSS-fuzz leak. | Glenn Randers-Pehrson | |
2017-08-05 | [libpng16] Make png_check_chunk_length|name() parameters const | Glenn Randers-Pehrson | |
2017-08-05 | [libpng16] Removed unused chunk_name parameter from png_check_chunk_length(). | Glenn Randers-Pehrson | |
2017-08-04 | [libpng16] Moved chunk-length check into a png_check_chunk_length() private | Glenn Randers-Pehrson | |
function (Suggested by Max Stepin). | |||
2017-08-04 | [libpng16] Removed a left-over debugging "printf" statement from pngrutil.c | Glenn Randers-Pehrson | |
2017-08-03 | [libpng16] Restored IDAT length check. Previously the calculated limit was five | Glenn Randers-Pehrson | |
bytes too small (neglected to account for a partial DEFLATE buffer) | |||
2017-08-03 | [libpng16] Use png_debug2() instead of printf() for bug reporting. | Glenn Randers-Pehrson | |
2017-08-03 | [libpng16] Disabled new limit test on IDAT chunks. It was producing too small | Glenn Randers-Pehrson | |
a limit for some files. | |||
2017-08-03 | [libpng16] Restored png_get_eXIf_1() and png_set_eXIf_1() because ↵ | Glenn Randers-Pehrson | |
strlen(eXIf_buf) does not work (the eXIf chunk data can contain zeroes). | |||
2017-08-03 | [libpng16] Check length of IDAT against maximum possible IDAT size, accounting | Glenn Randers-Pehrson | |
for height, rowbytes, interlacing and zlib/deflate overhead. | |||
2017-08-02 | [libng16] Check length of all chunks except IDAT against user limit. | Glenn Randers-Pehrson | |
2017-08-02 | [libpng16] Removed png_get_eXIf_1() and png_set_eXIf_1(). | Glenn Randers-Pehrson | |
2017-08-02 | [libpng16] Eliminate local eXIf_buf from png_handle_eXIf() | Glenn Randers-Pehrson | |
2017-08-01 | [libpng16] Stop memory leak when returning from png_handle_eXIf() with an error | Glenn Randers-Pehrson | |
(Bug report from the OSS-fuzz project). | |||
2017-08-01 | [libpng16] Initialized btoa[] in pngstest.c; stop memory leak in ↵ | Glenn Randers-Pehrson | |
png_handle_eXIf() when returning with an error. |