2
0
mirror of https://git.missingno.dev/kolibrios-nvme-driver/ synced 2025-01-30 17:20:12 +01:00

fix: add check to make sure p_nvme_devices isnt null

This commit is contained in:
Abdur-Rahman Mansoor 2024-08-03 13:05:12 -04:00
parent b2f63c4997
commit 4a1f7a5475

View File

@ -52,6 +52,8 @@ local AnythingLoadedSuccessfully db 0
jz .err
xor ebx, ebx
mov esi, dword [p_nvme_devices]
test esi, esi
jz .err
sub esi, sizeof.pcidev
.loop: