ImageMagick-6.9.0-5差分

ImageMagick-6.9.0-4差分 - yoyaのメモの続き

The latest release of ImageMagick is version 6.9.0-5

まとめ

  • base64符号化画像の出力対応 > convert logo: inline:jpeg:logo.txt
  • HDR 読み込みの無限ループ修正
  • MNG chunks の長さチェック
  • iccColorProfile() をバグ修正
  • ピクセルキャッシュの最適化 (少しだけ)
  • マルチスレッドのメモリリーク修正

差分

  • coders/gif.c の2つの警告を消した
  • MNG chunks を読む前に、その長さが大丈夫かのチェック
  • PNG codec で関数のどこで return した場合でも status をチェックするように
  • マルチスレッド化したプログラムのメモリリークを可能な限り取り除く (バグレポートとパッチは David Chapman .
  • ピクレスキャッシュを少し最適化
  • より多くの画像 sanity チェック
  • base64符号化画像のサポート (e.g convert logo: inline:jpeg:logo.txt).
  • ping 時に小さい TIFF でリークするのを修正 (パッチ提供は Andrey Cherniy)
ChangeLogにない差分
  • coders/gif.c
    • ResetMagickMemory (memset 相当)でゴミ掃除。
>   (void) ResetMagickMemory(hash_code,0,MaxHashTable*sizeof(*hash_code));
>   (void) ResetMagickMemory(hash_prefix,0,MaxHashTable*sizeof(*hash_prefix));
>   (void) ResetMagickMemory(hash_suffix,0,MaxHashTable*sizeof(*hash_suffix));
    • Global Colormap のサイズが色数と合わない時のケア
>       if (count != (ssize_t) (3*global_colors))
>         {
>           global_colormap=(unsigned char *) RelinquishMagickMemory(
>             global_colormap);
>           ThrowReaderException(CorruptImageError,"InsufficientImageDataInFile");
>

ChangeLog

2015-02-08  6.9.0-5 Cristy  <quetzlzacatenango@image...>
  * New version 6.9.0-5, SVN revision 17946.

2015-01-30  6.9.0-5 Glenn Randers-Pehrson <glennrp@image...>
  * In coders/gif.c, quiet two warnings.

2015-01-24  6.9.0-5 Dirk Lemstra <dirk@lem.....org>
  * Fixed iccColorProfile() in Magick++ (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=26910).
  * Fixed infinite loop in HDR reader (reference
    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=26929).

2015-01-23  6.9.0-5 Glenn Randers-Pehrson <glennrp@image...>
  * Check lengths of certain MNG chunks before reading them.
  * In the PNG codec, check status wherever a function returns it.

2015-01-18  6.9.0-5 Cristy  <quetzlzacatenango@image...>
  * Remove possible resource memory leak in a multi-threaded program (bug
    report and patch from David Chapman <d...@acm.org>.
  * Small optimization to pixel cache.
  * More image sanity checks.
  * Support writing base64-encoded images (e.g
          convert logo: inline:jpeg:logo.txt).
  * Repair small TIFF leak when pinging (patch provided by Andrey Cherniy).