)]}'
{
  "commit": "3b33de676ac8e84b82f40520ecd0f4722e16b349",
  "tree": "28b0d91a6d3946ac244f7784274196a43c8fe0b9",
  "parents": [
    "7d50ad444ffadd4110152113cc9583db96b3ad67"
  ],
  "author": {
    "name": "Doug VanLeuven",
    "email": "roamdad@sonic.net",
    "time": "Wed Oct 10 22:10:14 2012 +0000"
  },
  "committer": {
    "name": "David Lamparter",
    "email": "equinox@opensourcerouting.org",
    "time": "Mon Nov 05 11:11:36 2012 -0500"
  },
  "message": "zebra: kernel_socket: fix 64bit MacOS X alignment\n\nIn OS X 10.7 zebra crashed on invalid execution address.\n\nsockaddr padding in *_msghdr is observed to be 4 bytes in 64bit OS X.\n\nThe ROUNDUP macro assumed alignment on sizeof(long) which\nallocates 8 bytes on 64bit systems, 4 bytes on 32bit systems\nwhich is true for BSD generally.\n\nTest for Apple and use sizeof(int) which allocates 4 bytes on 32 \u0026 64bit\nsystems.\n\nTested on 64bit OS X 10.7, FreeBSD 9.0 amd64 \u0026 i386 (32bit)\nusing gcc \u0026 clang\n\nSigned-off-by: David Lamparter \u003cequinox@opensourcerouting.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b7061e762151e7d0e0985cbc2c99333d1155b5df",
      "old_mode": 33188,
      "old_path": "zebra/kernel_socket.c",
      "new_id": "ecc6e7905d0f925e4295f2c20c4f2e28d021bb93",
      "new_mode": 33188,
      "new_path": "zebra/kernel_socket.c"
    }
  ]
}
