)]}'
{
  "commit": "40664fef1fa079280487500d6c347472bd2961d5",
  "tree": "97816d3aa449113ba5b9110ba76b046cc8a29041",
  "parents": [
    "f7985ab827f64c0d474ed38260169e8bdd2feab8"
  ],
  "author": {
    "name": "Dmitry Goncharov",
    "email": "dgoncharov@users.sf.net",
    "time": "Sun Apr 21 13:34:12 2024 -0400"
  },
  "committer": {
    "name": "Paul Smith",
    "email": "psmith@gnu.org",
    "time": "Mon May 06 14:11:17 2024 -0400"
  },
  "message": "[SV 65324] disable_builtins: Don\u0027t dereference NULL suffix_file\n\nMake crashes when -r and MAKEFLAGS\u003d are specified on the command line.\n\nOn startup make begins to process command line arguments.\nDuring processing of \"MAKEFLAGS\u003d\" make calls reset_makeflags, which in\nturn calls disable_builtins, which dereferences null suffix_file.\nHere is the backtrace.\n\n0 disable_builtins main.c:3482\n1 reset_makeflags main.c:3104\n2 set_special_var variable.c:1325\n3 do_variable_definition variable.c:1693\n4 try_variable_definition variable.c:1889\n5 handle_non_switch_argument main.c:3021\n6 decode_switches main.c:3150\n7 main main.c:1621\n\n* src/main.c (disable_builtins): Avoid dereferencing null suffix_file.\n* tests/scripts/features/suffixrules: Add a test.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "15104212511884952fe7bde7386679017be310d9",
      "old_mode": 33188,
      "old_path": "src/main.c",
      "new_id": "bf3829a0fc74457498f6f81a9713bcc34c26e817",
      "new_mode": 33188,
      "new_path": "src/main.c"
    },
    {
      "type": "modify",
      "old_id": "6c562efc3a98983211c23d0d8a16f814e9a4c151",
      "old_mode": 33188,
      "old_path": "tests/scripts/features/suffixrules",
      "new_id": "46b09c5c6ebef523770c49ad4e625ca59f9224f9",
      "new_mode": 33188,
      "new_path": "tests/scripts/features/suffixrules"
    }
  ]
}
