)]}'
{
  "commit": "95dffe32a66cbed07fbfa7afed39d56d5014e04f",
  "tree": "f20ffda00fb5c8e66b01663935ae9c15099eb236",
  "parents": [
    "bc561dc8ba5b9fe56ed1757bdad218c9a0f992f1"
  ],
  "author": {
    "name": "Pengpeng Hou",
    "email": "pengpeng@iscas.ac.cn",
    "time": "Mon Apr 06 21:52:34 2026 -0700"
  },
  "committer": {
    "name": "Dmitry Torokhov",
    "email": "dmitry.torokhov@gmail.com",
    "time": "Mon Apr 06 22:10:55 2026 -0700"
  },
  "message": "Input: aiptek - validate raw macro indices before updating state\n\naiptek_irq() derives macro key indices directly from tablet reports and\nthen uses them to index macroKeyEvents[]. Report types 4 and 5 also save\nthe derived value in aiptek-\u003elastMacro and later use that state to\nrelease the previous key.\n\nValidate the raw macro index once before it enters that state machine, so\nlastMacro only ever stores an in-range macro key. Keep direct bounds\nchecks for report type 6, which reads the macro number from the packet\nbody and uses it immediately.\n\nSigned-off-by: Pengpeng Hou \u003cpengpeng@iscas.ac.cn\u003e\nLink: https://patch.msgid.link/20260329001711.88076-1-pengpeng@iscas.ac.cn\n[dtor: fix macro fallback in report 5s to use -1]\nSigned-off-by: Dmitry Torokhov \u003cdmitry.torokhov@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1ad3c19aa155debd7608301f4ad3c694d52d0b24",
      "old_mode": 33188,
      "old_path": "drivers/input/tablet/aiptek.c",
      "new_id": "c850b5890070617c0d197370e85ed8318a1776f5",
      "new_mode": 33188,
      "new_path": "drivers/input/tablet/aiptek.c"
    }
  ]
}
