mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Safety-check against empty PnP ID lists.
This commit is contained in:
parent
912e378232
commit
2e5bbc3fed
1 changed files with 1 additions and 1 deletions
|
|
@ -975,7 +975,7 @@ isa_pnp_probe(device_t dev, device_t child, struct isa_pnp_id *ids)
|
|||
if (!idev->id_vendorid)
|
||||
return ENOENT;
|
||||
|
||||
while (ids->ip_id) {
|
||||
while (ids && ids->ip_id) {
|
||||
/*
|
||||
* Really ought to support >1 compat id per device.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue