)]}'
{
  "commit": "8ed9029ad3df5a2e74baf4421682c3d7813ea823",
  "tree": "0b4c0f6e13b4c4d832ddf55b15d2e67a8c887c0c",
  "parents": [
    "c4a9c46a2b6d824aba6cf8fc50f3b0fa6724cd86"
  ],
  "author": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Thu Jul 18 18:27:44 2019 +0300"
  },
  "committer": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Thu Jul 18 18:27:44 2019 +0300"
  },
  "message": "Core: fixed segfault with too large bucket sizes (ticket #1806).\n\nTo save memory hash code uses u_short to store resulting bucket sizes,\nso maximum bucket size is limited to 65536 minus ngx_cacheline_size (larger\nvalues will be aligned to 65536 which will overflow u_short).  However,\nthere were no checks to enforce this, and using larger bucket sizes\nresulted in overflows and segmentation faults.\n\nAppropriate safety checks to enforce this added to ngx_hash_init().\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1944c7a21d4a7dfb929ce636ca7f7c43a59b0d22",
      "old_mode": 33188,
      "old_path": "src/core/ngx_hash.c",
      "new_id": "d684e70577742978d3073abdbbf8a5c4b344579b",
      "new_mode": 33188,
      "new_path": "src/core/ngx_hash.c"
    }
  ]
}
