aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2022-06-12 17:05:55 +0100
committerMauro Carvalho Chehab <[email protected]>2022-07-08 17:44:52 +0100
commit42ec2f0714858376db064e87674c491d7f457e5d (patch)
tree0a3947c17b500d5e9c538e07b5185ad7830bed3b /tools/perf/scripts/python/stackcollapse.py
parenta3b36a8ce3d0c277fe243fa1be6bd3f606ed130f (diff)
media: atomisp: fix uninitialized stack mem usage in ia_css_rmgr_acq_vbuf()
When ia_css_rmgr_acq_vbuf() enters the code path where it uses the local "struct ia_css_rmgr_vbuf_handle v" on the stack it relies on v.count==0 so that ia_css_rmgr_refcount_retain_vbuf allocates a new handle. Explicitly set v.count to 0 rather then it being whatever was on the stack. Link: https://lore.kernel.org/linux-media/[email protected] Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions