Page MenuHomeFreeBSD

LinuxKPI: firmware: ensure name stays valid
Needs ReviewPublic

Authored by bz on Mon, Oct 12, 12:21 AM.
Referenced Files
F175984342: D60630.diff
Thu, Oct 15, 12:56 AM
Unknown Object (File)
Wed, Oct 14, 6:50 PM
Unknown Object (File)
Wed, Oct 14, 2:14 AM
Unknown Object (File)
Wed, Oct 14, 2:03 AM
Unknown Object (File)
Tue, Oct 13, 11:32 PM
Unknown Object (File)
Tue, Oct 13, 11:41 AM
Unknown Object (File)
Tue, Oct 13, 12:51 AM
Unknown Object (File)
Mon, Oct 12, 11:10 PM
Subscribers

Details

Reviewers
None
Group Reviewers
linuxkpi
Summary

The name argument passed into request_firmware_nowait() may only be
valid locally in the calling function and could be out of scope by the
time the task runs; make a copy to ensure it stays valid over the
callback.

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 78045
Build 74928: arc lint + arc unit