Bug 5330 - BUG: media: dvb-usb: dw2102: uninit-value in su3000_read_mac_address
Summary: BUG: media: dvb-usb: dw2102: uninit-value in su3000_read_mac_address
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: 5.10.y-10
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: hanchunchao
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-29 14:17 UTC by hanchunchao
Modified: 2023-08-17 18:30 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hanchunchao inspur_group 2023-05-29 14:17:21 UTC
Description of problem:


In su3000_read_mac_address, if i2c_transfer fails to execute two
messages, array mac address will not be initialized. Without handling
such error, later in function dvb_usb_adapter_dvb_init, proposed_mac
is accessed before initialization.
Comment 1 小龙 admin 2023-05-29 14:30:52 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/1677