summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorGünther Noack <gnoack@google.com>2026-02-19 18:43:36 +0300
committerBenjamin Tissoires <bentiss@kernel.org>2026-02-19 20:57:38 +0300
commit239c15116d80f67d32f00acc34575f1a6b699613 (patch)
treead4e6f4387387075aadd5b3c55a50356a443d1f7 /scripts/objdiff
parent6b3e458806e34f1142592f786d3eb0ebac209cc2 (diff)
downloadlinux-239c15116d80f67d32f00acc34575f1a6b699613.tar.xz
HID: apple: avoid memory leak in apple_report_fixup()
The apple_report_fixup() function was returning a newly kmemdup()-allocated buffer, but never freeing it. The caller of report_fixup() does not take ownership of the returned pointer, but it *is* permitted to return a sub-portion of the input rdesc, whose lifetime is managed by the caller. Assisted-by: Gemini-CLI:Google Gemini 3 Signed-off-by: Günther Noack <gnoack@google.com> Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions