HomeFreeBSD

stand/efihttp: Add device type check to efihttp_fs_open()

Description

stand/efihttp: Add device type check to efihttp_fs_open()

Ensure the open operation targets an HTTP device. Return EINVAL if
not, to prevent potential system crashes when used on other devices.

Differential Revision: https://reviews.freebsd.org/D48439
Reviewed by: dab, imp, vangyzen
Sponsored by: Dell Technologies

Details

Provenance
yongbo.yao_dell.comAuthored on Sun, Jan 19, 4:50 PM
dabCommitted on Sun, Jan 19, 5:00 PM
Reviewer
dab
Differential Revision
D48439: stand/efihttp: Add device type check to efihttp_fs_open()
Parents
rGc5056a3931b4: getentropy tests: Update after commit 473681a1a506da
Branches
Unknown
Tags
Unknown
References
HEAD -> main