)]}'
{
  "commit": "d8db706acb8316f9861abd432cfbe001dd6d0c5c",
  "tree": "478ca7ab291be8779d549e2b89ff4c1d6dd7eb25",
  "parents": [
    "3f94b6d87f1b8f1c421ba548f8ebb83dca9c8cda"
  ],
  "author": {
    "name": "Lasse Collin",
    "email": "lasse.collin@tukaani.org",
    "time": "Mon May 28 20:42:11 2012 +0300"
  },
  "committer": {
    "name": "Lasse Collin",
    "email": "lasse.collin@tukaani.org",
    "time": "Mon May 28 20:42:11 2012 +0300"
  },
  "message": "liblzma: Fix possibility of incorrect LZMA_BUF_ERROR.\n\nlzma_code() could incorrectly return LZMA_BUF_ERROR if\nall of the following was true:\n\n  - The caller knows how many bytes of output to expect\n    and only provides that much output space.\n\n  - When the last output bytes are decoded, the\n    caller-provided input buffer ends right before\n    the LZMA2 end of payload marker. So LZMA2 won\u0027t\n    provide more output anymore, but it won\u0027t know it\n    yet and thus won\u0027t return LZMA_STREAM_END yet.\n\n  - A BCJ filter is in use and it hasn\u0027t left any\n    unfiltered bytes in the temp buffer. This can happen\n    with any BCJ filter, but in practice it\u0027s more likely\n    with filters other than the x86 BCJ.\n\nAnother situation where the bug can be triggered happens\nif the uncompressed size is zero bytes and no output space\nis provided. In this case the decompression can fail even\nif the whole input file is given to lzma_code().\n\nA similar bug was fixed in XZ Embedded on 2011-09-19.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9e7bc289aeec183bc4d1682ba364d0fd1f953fbd",
      "old_mode": 33188,
      "old_path": "src/liblzma/simple/simple_coder.c",
      "new_id": "a02b039aa0bbd3558072944a74f1192e9dc935a6",
      "new_mode": 33188,
      "new_path": "src/liblzma/simple/simple_coder.c"
    },
    {
      "type": "modify",
      "old_id": "03bf34c2617c8d3a57ae7d9af4781822e8ad4dce",
      "old_mode": 33188,
      "old_path": "tests/Makefile.am",
      "new_id": "c4e17ed1dd745f534c4d282340a399395e5fa0f4",
      "new_mode": 33188,
      "new_path": "tests/Makefile.am"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "cbd93405cd1f217c2ff3aad829150e4a58ef78c4",
      "new_mode": 33188,
      "new_path": "tests/test_bcj_exact_size.c"
    }
  ]
}
