aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorYizhuo <[email protected]>2021-07-11 22:23:32 +0200
committerMauro Carvalho Chehab <[email protected]>2021-09-30 10:07:44 +0200
commit5ba9c067b5ed1ccfec58acae07c6582f16b9d44b (patch)
treec0bee2841ee614d20eadceac399057df304a34b3 /tools/perf/scripts/python/event_analyzing_sample.py
parente16f5e39acd6d10cc63ae39bc0a77188ed828f22 (diff)
media: staging: atomisp: fix the uninitialized use in gc2235_detect()
Inside function gc2235_detect(), variable "low" could be uninitialized if ov5693_read_reg() returns error, however, it affects the value of variable "id". The "id" is used in the later if statement, which is potentially unsafe. Link: https://lore.kernel.org/linux-media/[email protected] Signed-off-by: Yizhuo <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions