)]}'
{
  "commit": "dd2a080f6e1a144779a8a9dc9c107293d1fdad77",
  "tree": "87771c6ea9bdb3487c6b985ba613275f7797aa21",
  "parents": [
    "5223e6bc41ed3db6db4dcac9f30b57020abb45c9"
  ],
  "author": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Tue Feb 17 09:57:52 2026 +1030"
  },
  "committer": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Tue Feb 17 11:15:47 2026 +1030"
  },
  "message": "gas: further limit .rept count\n\ngas currently limits a rept count at 0x7fffffff.  With a minimal rept\nbody this requires at least 2G * 16 due to the .linefile directive\nadded by buffer_and_nest.  I\u0027m inclined to think 32G is excessive.\n\nThis patch limits the total memory used by rept to 4G (2G on 32-bit\nsystems).  That of course reduces allowed repeat counts by a factor of\nat least 8, and note that the file name affects the max repeat.\n\nThe patch also changes the repeat count to 1 rather than 0 when\nwe hit the limit, so that the body of the rept is not entirely ignored.\n\nNested rept can still easily cause OOM of course.\n\n\t* read.c (do_repeat): Limit allowed repeat count based on\n\ttotal memory needed.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4f7420e4117b7f5a64c273f049ee2ff8681b2ae4",
      "old_mode": 33188,
      "old_path": "gas/read.c",
      "new_id": "40804d44845ae880bdf611790040385e0efc32dd",
      "new_mode": 33188,
      "new_path": "gas/read.c"
    }
  ]
}
