summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-05-04 18:16:49 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-05-04 18:17:58 +0300
commit89eaaf2d19a6cfff0a16014405c2a65b5257b8a1 (patch)
treef6a9ad307add4a9b86268fdcf0839ef260b00509 /README
parent5f939c36b5d6803d110de145cea32b14e0eb941a (diff)
downloadlinux-89eaaf2d19a6cfff0a16014405c2a65b5257b8a1.tar.xz
media: lgdt330x: don't use an uninitialized state
If state is not initialized or is freed, we can't use it: drivers/media/dvb-frontends/lgdt330x.c:920 lgdt330x_probe() error: potential null dereference 'state'. (kzalloc returns null) drivers/media/dvb-frontends/lgdt330x.c:920 lgdt330x_probe() error: we previously assumed 'state' could be null (see line 878) drivers/media/dvb-frontends/lgdt330x.c:920 lgdt330x_probe() error: dereferencing freed memory 'state' Fixes: 23ba635d45f5 ("media: lgdt330x: convert it to the new I2C binding way") Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions