)]}'
{
  "commit": "42176e6b01c9ca2b2725952684b2d7792468e861",
  "tree": "2eb360778e96efe5ddc554a2b348e5e743030d61",
  "parents": [
    "04d23314ddf950fefb3ff18306c7564bf4573a12"
  ],
  "author": {
    "name": "Chris Caputo",
    "email": "ccaputo@alt.net",
    "time": "Tue Jun 02 18:37:11 2009 +0100"
  },
  "committer": {
    "name": "Paul Jakma",
    "email": "paul@quagga.net",
    "time": "Tue Jun 02 18:38:24 2009 +0100"
  },
  "message": "[smux] 64-bit fix for lib/smux.h SNMP_INTEGER() macro\n\nMacro SNMP_INTEGER() prepares data which is eventually processed\nby asn_build_int().  SNMP_INTEGER() was using \"int32_t\" whereas\nasn_build_int() uses \"long\".  On 32-bit systems these are the\nsame, both 4 bytes, but on x86 64-bit systems \"long\" is 8 bytes.\n\nasn_build_int()\u0027s reaction to an improperly sized value is to return\na NULL pointer.  Quagga\u0027s smux.c would eventually get this NULL\npointer and use it in calculations to determine how much data to send\nover the smux connection, resulting in garbage being sent to the\nSNMP agent.\n\nCorrected SNMP_INTEGER() to use \"long\".\n\nTested on 32-bit and 64-bit x86 Linux 2.6.27.10 systems running\nQuagga 0.99.11 with bgpd smux.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "79d23e7065a25fdb65922aee0b18a8a7b1e379bf",
      "old_mode": 33188,
      "old_path": "lib/smux.h",
      "new_id": "bab3587bc3a7d7c29902841c195c8a9fd5ae1c22",
      "new_mode": 33188,
      "new_path": "lib/smux.h"
    }
  ]
}
