summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorDheeraj Reddy Jonnalagadda <dheeraj.linuxdev@gmail.com>2025-01-07 18:05:10 +0530
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-02-03 19:30:11 +0000
commit5d702aa2a47bbab6231382f9ead5be40a287a53b (patch)
tree85e25c2ef9b675666f70f80c49a21663862079fa /tools/perf/scripts/python/task-analyzer.py
parentaa5119c36d19639397d29ef305aa53a5ecd72b27 (diff)
iio: proximity: Fix use-after-free in hx9023s_send_cfg()
Reorder the assignment of fw_size to happen before release_firmware() to avoid accessing the firmware structure after it's been freed. Fixes: e9ed97be4fcc ("iio: proximity: hx9023s: Added firmware file parsing functionality") Closes: https://scan7.scan.coverity.com/#/project-view/52337/11354?selectedIssue=1602791 Signed-off-by: Dheeraj Reddy Jonnalagadda <dheeraj.linuxdev@gmail.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20250107123510.44978-1-dheeraj.linuxdev@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions