[phobos] [D-Programming-Language/phobos] 9f67ad: fixed wrong headers for decompression

GitHub noreply at github.com
Sun Sep 2 10:17:32 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 9f67ad2096f2436e943d61b490f787dcb836971a
      https://github.com/D-Programming-Language/phobos/commit/9f67ad2096f2436e943d61b490f787dcb836971a
  Author: David <admin at dav1d.de>
  Date:   2012-08-25 (Sat, 25 Aug 2012)

  Changed paths:
    M std/zip.d

  Log Message:
  -----------
  fixed wrong headers for decompression

In some archives the headers for each indivdual `ArchivMember` are incomplete.
And these incomplete headers would overwrite the actual headers with `0` which
results in a `ZlibException` (since `compressedSize` and `expandedSize` are `0`)


  Commit: 4596ab68014fbd21817b596760d8d5a1fd50fb8d
      https://github.com/D-Programming-Language/phobos/commit/4596ab68014fbd21817b596760d8d5a1fd50fb8d
  Author: Andrei Alexandrescu <andrei at erdani.com>
  Date:   2012-09-02 (Sun, 02 Sep 2012)

  Changed paths:
    M std/zip.d

  Log Message:
  -----------
  Merge pull request #758 from Dav1dde/patch-1

fixed wrong headers for decompression


Compare: https://github.com/D-Programming-Language/phobos/compare/0a511e3975e7...4596ab68014f


More information about the phobos mailing list