mirror of
https://github.com/torvalds/linux.git
synced 2026-08-04 14:27:00 +02:00
pci_request_region() stores the name pointer directly in struct
resource; use &'static CStr to ensure the pointer remains valid even if
the Bar is leaked.
Cc: stable@vger.kernel.org
Reported-by: Sashiko <sashiko-bot@kernel.org>
Closes: https://lore.kernel.org/all/20260522004943.CDA7C1F000E9@smtp.kernel.org/
Fixes:
|
||
|---|---|---|
| .. | ||
| id.rs | ||
| io.rs | ||
| irq.rs | ||