ANNOUNCE 4.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. Libpng 1.6.10 - March 6, 2014
  2. This is a public release of libpng, intended for use in production codes.
  3. Files available for download:
  4. Source files with LF line endings (for Unix/Linux) and with a
  5. "configure" script
  6. libpng-1.6.10.tar.xz (LZMA-compressed, recommended)
  7. libpng-1.6.10.tar.gz
  8. Source files with CRLF line endings (for Windows), without the
  9. "configure" script
  10. lpng1610.7z (LZMA-compressed, recommended)
  11. lpng1610.zip
  12. Other information:
  13. libpng-1.6.10-README.txt
  14. libpng-1.6.10-LICENSE.txt
  15. libpng-1.6.10-*.asc (armored detached GPG signatures)
  16. Changes since the last public release (1.6.9):
  17. Backported changes from libpng-1.7.0beta30 and beta31:
  18. Fixed a large number of instances where PNGCBAPI was omitted from
  19. function definitions.
  20. Added pngimage test program for png_read_png() and png_write_png()
  21. with two new test scripts.
  22. Removed dependence on !PNG_READ_EXPAND_SUPPORTED for calling
  23. png_set_packing() in png_read_png().
  24. Fixed combination of ~alpha with shift. On read invert alpha, processing
  25. occurred after shift processing, which causes the final values to be
  26. outside the range that should be produced by the shift. Reversing the
  27. order on read makes the two transforms work together correctly and mirrors
  28. the order used on write.
  29. Do not read invalid sBIT chunks. Previously libpng only checked sBIT
  30. values on write, so a malicious PNG writer could therefore cause
  31. the read code to return an invalid sBIT chunk, which might lead to
  32. application errors or crashes. Such chunks are now skipped (with
  33. chunk_benign_error).
  34. Make png_read_png() and png_write_png() prototypes in png.h depend
  35. upon PNG_READ_SUPPORTED and PNG_WRITE_SUPPORTED.
  36. Support builds with unsupported PNG_TRANSFORM_* values. All of the
  37. PNG_TRANSFORM_* values are always defined in png.h and, because they
  38. are used for both read and write in some cases, it is not reliable
  39. to #if out ones that are totally unsupported. This change adds error
  40. detection in png_read_image() and png_write_image() to do a
  41. png_app_error() if the app requests something that cannot be done
  42. and it adds corresponding code to pngimage.c to handle such options
  43. by not attempting to test them.
  44. Moved redefines of png_error(), png_warning(), png_chunk_error(),
  45. and png_chunk_warning() from pngpriv.h to png.h to make them visible
  46. to libpng-calling applications.
  47. Moved OS dependent code from arm/arm_init.c, to allow the included
  48. implementation of the ARM NEON discovery function to be set at
  49. build-time and provide sample implementations from the current code in the
  50. contrib/arm-neon subdirectory. The __linux__ code has also been changed to
  51. compile and link on Android by using /proc/cpuinfo, and the old linux code
  52. is in contrib/arm-neon/linux-auxv.c. The new code avoids POSIX and Linux
  53. dependencies apart from opening /proc/cpuinfo and is C90 compliant.
  54. Check for info_ptr == NULL early in png_read_end() so we don't need to
  55. run all the png_handle_*() and depend on them to return if info_ptr == NULL.
  56. This improves the performance of png_read_end(png_ptr, NULL) and makes
  57. it more robust against future programming errors.
  58. Check for __has_extension before using it in pngconf.h, to
  59. support older Clang versions (Jeremy Sequoia).
  60. Treat CRC error handling with png_set_crc_action(), instead of with
  61. png_set_benign_errors(), which has been the case since libpng-1.6.0beta18.
  62. Use a user warning handler in contrib/gregbook/readpng2.c instead of default,
  63. so warnings will be put on stderr even if libpng has CONSOLE_IO disabled.
  64. Added png_ptr->process_mode = PNG_READ_IDAT_MODE in png_push_read_chunk
  65. after recognizing the IDAT chunk, which avoids an infinite loop while
  66. reading a datastream whose first IDAT chunk is of zero-length.
  67. This fixes CERT VU#684412 and CVE-2014-0333.
  68. Don't recognize known sRGB profiles as sRGB if they have been hacked,
  69. but don't reject them and don't issue a copyright violation warning.
  70. Moved some documentation from png.h to libpng.3 and libpng-manual.txt
  71. Minor editing of contrib/arm-neon/README and contrib/examples/*.c
  72. Fixed typos in the manual and in scripts/pnglibconf.dfa (CFLAGS -> CPPFLAGS
  73. and PNG_USR_CONFIG -> PNG_USER_CONFIG).
  74. Un-deprecated png_data_freer().
  75. Send comments/corrections/commendations to png-mng-implement at lists.sf.net
  76. (subscription required; visit
  77. https://lists.sourceforge.net/lists/listinfo/png-mng-implement
  78. to subscribe)
  79. or to glennrp at users.sourceforge.net
  80. Glenn R-P
  81. #endif