summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2025-05-30 16:13:32 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2025-05-30 16:15:43 -0700
commita95ef0199e80f3384eb992889322957d26c00102 (patch)
tree48a99b6f06473c3300c94d614c196c22d1c7321a /tools/perf/scripts/python/bin
parent8f38219fa139623c29db2cb0f17d0a197a86e344 (diff)
Input: ims-pcu - check record size in ims_pcu_flash_firmware()
The "len" variable comes from the firmware and we generally do trust firmware, but it's always better to double check. If the "len" is too large it could result in memory corruption when we do "memcpy(fragment->data, rec->data, len);" Fixes: 628329d52474 ("Input: add IMS Passenger Control Unit driver") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/131fd1ae92c828ee9f4fa2de03d8c210ae1f3524.1748463049.git.dan.carpenter@linaro.org Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions