Skip to content

[pull] master from linux-nvme:master#245

Merged
pull[bot] merged 1 commit into
zengqingfu1442:masterfrom
linux-nvme:master
Jun 30, 2026
Merged

[pull] master from linux-nvme:master#245
pull[bot] merged 1 commit into
zengqingfu1442:masterfrom
linux-nvme:master

Conversation

@pull

@pull pull Bot commented Jun 30, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

wdc_get_pci_ids() returns an error if it fails to retieve the PCI device
ID. In that case, device_id remains uninitialized, and using it later in
wdc_log_page_directory() results in undefined behavior.

Check the return value from wdc_get_pci_ids() and bail out early if the
PCI ID lookup fails.

This issue was reported by the clang static analyzer.

Signed-off-by: Sarah Ahmed <sarah.ahmed@ibm.com>
@pull pull Bot locked and limited conversation to collaborators Jun 30, 2026
@pull pull Bot added the ⤵️ pull label Jun 30, 2026
@pull
pull Bot merged commit 94e4499 into zengqingfu1442:master Jun 30, 2026
31 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant