summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorAbdun Nihaal <nihaal@cse.iitm.ac.in>2025-11-10 20:15:50 +0300
committerJiri Kosina <jkosina@suse.com>2025-11-18 20:07:14 +0300
commit8513c154f8ad7097653dd9bf43d6155e5aad4ab3 (patch)
tree15b569f096001301f39b8b7d0ff36cd24847d304 /scripts/patch-kernel
parent9d7b89a1028230315a8999cfea7795fbe84f62cc (diff)
downloadlinux-8513c154f8ad7097653dd9bf43d6155e5aad4ab3.tar.xz
HID: playstation: Fix memory leak in dualshock4_get_calibration_data()
The memory allocated for buf is not freed in the error paths when ps_get_report() fails. Free buf before jumping to transfer_failed label Fixes: 947992c7fa9e ("HID: playstation: DS4: Fix calibration workaround for clone devices") Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in> Reviewed-by: Silvan Jegen <s.jegen@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions