aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorZheng Wang <[email protected]>2023-04-27 11:08:41 +0800
committerHelge Deller <[email protected]>2023-05-11 22:58:59 +0200
commitc75f5a55061091030a13fef71b9995b89bc86213 (patch)
tree7a8abedd4254f120f6d2b1178d8c96e01bb6f3e4 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent6208890495ded5429424b0335c7fd2d47fdffb83 (diff)
fbdev: imsttfb: Fix use after free bug in imsttfb_probe
A use-after-free bug may occur if init_imstt invokes framebuffer_release and free the info ptr. The caller, imsttfb_probe didn't notice that and still keep the ptr as private data in pdev. If we remove the driver which will call imsttfb_remove to make cleanup, UAF happens. Fix it by return error code if bad case happens in init_imstt. Signed-off-by: Zheng Wang <[email protected]> Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions