)]}'
{
  "commit": "5d4b8cf2faba9f5386810a7c70837e5b7fae3572",
  "tree": "ec89383f7bfd4684a0cde15648e5f00e8d2d8f7b",
  "parents": [
    "41dc3488cf127a1e23333459a0c316ded67f7ff3"
  ],
  "author": {
    "name": "Paul Jakma",
    "email": "paul.jakma@sun.com",
    "time": "Sun Nov 16 18:34:19 2008 +0000"
  },
  "committer": {
    "name": "Paul Jakma",
    "email": "paul@quagga.net",
    "time": "Sun Nov 16 18:47:02 2008 +0000"
  },
  "message": "[lib] Switch Fletcher checksum back to old ospfd version\n\n* lib/checksum.c: (fletcher_checksum) Switch the second phase of the checksum\n  back to the old ospfd logic.\n\n  The isisd-derived version:\n\n  a) is very hard to follow\n  b) had some kind of subtle bug that caused it be wrong when c0\u003d0 and c1\u003d254\n     (potentially fixable by doing the mods before adjusting x and y)\n\n  Additionally:\n\n  - explicitely cast expressions using non-internal variables to int, to ensure\n    the result is signed.\n  - defensively change the length argument to \u0027size_t\u0027, to ensure the code\n    works with that argument being unsigned..\n\n  Thanks to Joakim Tjernlund for the investigative work into this bug.\n\n* tests/test-checksum.c: new file to exercise the checksum code.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "88ec72a836de5ce0631b952e506f6a9617855366",
      "old_mode": 33188,
      "old_path": "lib/checksum.c",
      "new_id": "f6d74d31201bd2a7bd0484094910ac6093e430fa",
      "new_mode": 33188,
      "new_path": "lib/checksum.c"
    },
    {
      "type": "modify",
      "old_id": "d3ce93028d759febc2998f0568d1176c7c8a5e36",
      "old_mode": 33188,
      "old_path": "lib/checksum.h",
      "new_id": "da1d3cbad62e2c3d4169f556624f09c66ad0c989",
      "new_mode": 33188,
      "new_path": "lib/checksum.h"
    },
    {
      "type": "modify",
      "old_id": "c93fa08c4bafd5b55210a8f6587be05a854d1d19",
      "old_mode": 33188,
      "old_path": "tests/Makefile.am",
      "new_id": "4ab507bbe53792470023311f49e120cc8c5d0354",
      "new_mode": 33188,
      "new_path": "tests/Makefile.am"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d218840d387d1b7d8f3c3b7ed312d924ff039761",
      "new_mode": 33188,
      "new_path": "tests/test-checksum.c"
    }
  ]
}
