)]}'
{
  "commit": "185557344ae79890d4acbbf5972972d20af1dd05",
  "tree": "b9d668e7ef18624c411593d1e8d9dc501411b04a",
  "parents": [
    "de5182eef387b2f681edc1a2b2b4519798fd0848"
  ],
  "author": {
    "name": "Ralph Giles",
    "email": "giles@entropywave.com",
    "time": "Thu Mar 17 00:23:36 2011 -0700"
  },
  "committer": {
    "name": "Ralph Giles",
    "email": "giles@entropywave.com",
    "time": "Thu Mar 17 14:52:05 2011 -0700"
  },
  "message": "Set bounds from the array when iterating mmaps.\n\nThe mmap allocation code in vp8_dx_iface.c was inconsistent.\nThe static array vp8_mem_req_segs defines two descriptors,\nbut only the first is real. The second is a sentinel and\nisn\u0027t actually allocated, so vpx_codec_alg_priv is declared\nwith mmaps[NELEMENTS(vp8_mem_req_segs)-1]. Some functions\nuse this reduced upper bound when iterating though the mmap\narray, but these two functions did not.\n\nInstead, this commit calls NELEMENTS(...-\u003emmaps) to directly\nquery the bounds of the dereferenced array.\n\nThis fixes an array-bounds warning from gcc 4.6 on\nvp8_xma_set_mmap.\n\nChange-Id: I918e2721b401d134c1a9764c978912bdb3188be1\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4f64f0d32c8cebc4dc1081f8b1b40056f4e05b6b",
      "old_mode": 33188,
      "old_path": "vp8/vp8_dx_iface.c",
      "new_id": "99657e0a5246d7db8851620e899293855a23256f",
      "new_mode": 33188,
      "new_path": "vp8/vp8_dx_iface.c"
    }
  ]
}
