)]}'
{
  "commit": "e1914b98b732ae1ae2fab70a4f92984f04284800",
  "tree": "58531de8927afcaab27a79b02ca9c5b9a8142eeb",
  "parents": [
    "44db76ea4e80c1c81abd431d2c4c89d3eb389869"
  ],
  "author": {
    "name": "Takashi Iwai",
    "email": "tiwai@suse.de",
    "time": "Wed Jun 08 17:21:17 2022 +0200"
  },
  "committer": {
    "name": "Takashi Iwai",
    "email": "tiwai@suse.de",
    "time": "Mon Jun 13 07:44:07 2022 +0200"
  },
  "message": "ALSA: control: Add input validation\n\nThis patch adds a new feature to enable the validation of input data\nto control elements in the ALSA core side.  When\nCONFIG_SND_CTL_INPUT_VALIDATION is set, ALSA core verifies whether the\neach input value via control API is in the defined ranges, also checks\nwhether it\u0027s aligned to the defined steps.  If an invalid value is\ndetected, ALSA core returns -EINVAL error immediately without passing\nfurther to the driver\u0027s callback.  So this is a kind of hardening for\n(badly written) drivers that have no proper error checks, at the cost\nof a slight performance overhead.\n\nTechnically seen, this reuses a part of the existing validation code\nfor CONFIG_SND_CTL_DEBUG case with a slight modification to suppress\nerror prints for the input validation.\n\nSigned-off-by: Takashi Iwai \u003ctiwai@suse.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5bd8c93931b265dbc43688df6e0cfe47dc61ddd4",
      "old_mode": 33188,
      "old_path": "sound/core/Kconfig",
      "new_id": "11d44dfda7ce14d7d04d18613886f5a6b027b0cc",
      "new_mode": 33188,
      "new_path": "sound/core/Kconfig"
    },
    {
      "type": "modify",
      "old_id": "339d420fb9f70081b160623247f3a98d3cd46181",
      "old_mode": 33188,
      "old_path": "sound/core/control.c",
      "new_id": "b5bbdabca353bab1188ad6804ca7ae424837b4ae",
      "new_mode": 33188,
      "new_path": "sound/core/control.c"
    }
  ]
}
