)]}'
{
  "commit": "c6d34865fa02463cf34634f45369ebcc725b101b",
  "tree": "685cb55ed16e4512a4739dd21c1a61dae05321a7",
  "parents": [
    "8daf425794ed624083de98caab04b9fedb873420"
  ],
  "author": {
    "name": "Peter Wu",
    "email": "peter@lekensteyn.nl",
    "time": "Tue Jan 06 18:48:11 2015 +0100"
  },
  "committer": {
    "name": "Kevin Wolf",
    "email": "kwolf@redhat.com",
    "time": "Fri Feb 06 17:24:21 2015 +0100"
  },
  "message": "block/dmg: fix sector data offset calculation\n\nThis patch addresses two issues:\n\n - The data fork offset was not taken into account, resulting in failure\n   to read an InstallESD.dmg file (5164763151 bytes) which had a\n   non-zero DataForkOffset field.\n - The offset of the previous block (\"partition\") was unconditionally\n   added to the current block because older files would start the input\n   offset of a new block at zero. Newer files (including vlc-2.1.5.dmg,\n   tuxpaint-0.9.15-macosx.dmg and OS X Yosemite [MAS].dmg) failed in\n   reads because these files have chunk offsets, relative to the begin\n   of a data fork.\n\nNow the data offset of the mish is taken into account. While we could\ncheck that the data_offset is within the data fork, let\u0027s not do that\nhere as it would only result in parse failures on invalid files (rather\nthan gracefully handling such bad files). dmg_read will error out if\nthe offset is incorrect.\n\nSigned-off-by: Peter Wu \u003cpeter@lekensteyn.nl\u003e\nReviewed-by: John Snow \u003cjsnow@redhat.com\u003e\nMessage-id: 1420566495-13284-9-git-send-email-peter@lekensteyn.nl\nSigned-off-by: Stefan Hajnoczi \u003cstefanha@redhat.com\u003e\nSigned-off-by: Kevin Wolf \u003ckwolf@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a33c131a9ff9d4a345ed56d35a37a376d5c7ae61",
      "old_mode": 33188,
      "old_path": "block/dmg.c",
      "new_id": "34dc6322e929a2b95f53118aa4daafbd41b30251",
      "new_mode": 33188,
      "new_path": "block/dmg.c"
    }
  ]
}
