)]}'
{
  "commit": "d1045d8b245ab231bed5419d91a6bf380678932d",
  "tree": "65ef0eb6df4f8536cb5ab8dcdad74b048171bfae",
  "parents": [
    "2c5b65eb197cf149b56caff68f6d0442cb99d10f"
  ],
  "author": {
    "name": "Stefan Tauner",
    "email": "stefan.tauner@alumni.tuwien.ac.at",
    "time": "Tue Oct 29 01:38:45 2013 +0000"
  },
  "committer": {
    "name": "Stefan Tauner",
    "email": "stefan.tauner@alumni.tuwien.ac.at",
    "time": "Tue Oct 29 01:38:45 2013 +0000"
  },
  "message": "Ensure DMI strings used in dmi_compare() are not NULL\n\nPreviously the external DMI decoder did not allow this to happen because\nall possible pointers were initialized at startup by the output of\n\u0027dmidecode -s ...\u0027 which has default values for all supported types.\n\nThe now active internal DMI decoder does work differently: it scans the\ncomplete DMI table once and copies the available strings. Therefore, strings\nthat are not set by the firmware are left at their default value of NULL.\n\nA segfault would arise if the following conditions are all true:\n - the firmware sets up a DMI/SMBIOS table which has at least a correct\n   checksum, and\n - that table does *not* define at least one of the DMI strings we use\n   for matching (as defined by dmi_strings[] in dmi.c), and\n - there exists a board enable whose PCI IDs are matched by the board,\n   and which has a DMI string set that ends with a $ anchor, and\n - the user calls the internal programmer of flashrom without the\n   optional mainboard parameter.\n\nThis was first observed by Gelip on an abit BF6 using the coreboot port\nfor the abit BE6-II V2.0.\nThe segfault was reproduced by Idwer Vollering on an ASUS F2A85-M with\nthe default DMI values of CONFIG_MAINBOARD_SMBIOS_MANUFACTURER etc.\noverwritten and a forged board enable matching his board.\nIdwer also verified that this patch fixes the problem, thanks a lot!\n\nCorresponding to flashrom svn r1763.\n\nSigned-off-by: Stefan Tauner \u003cstefan.tauner@alumni.tuwien.ac.at\u003e\nAcked-by: Stefan Tauner \u003cstefan.tauner@alumni.tuwien.ac.at\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "14f387195b1e352c0620eaf7419f7150c81e85c0",
      "old_mode": 33188,
      "old_path": "dmi.c",
      "new_id": "ef7ae2c88e9269d19eead4e0dd2a4a6955216b24",
      "new_mode": 33188,
      "new_path": "dmi.c"
    }
  ]
}
