https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6d5a81013cc52ef61b98e…
commit 6d5a81013cc52ef61b98e7bc8b5ce9536d5bb1ea
Author: Alexandr A. Telyatnikov <alter(a)alter.org.ua>
AuthorDate: Tue Mar 26 15:56:53 2019 +0200
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Tue Apr 2 18:02:07 2019 +0200
[UNIATA] Fix for uninitialized Lun pointer
This fixes crash on Intel AHCI init. CORE-15886
---
drivers/storage/ide/uniata/id_init.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/storage/ide/uniata/id_init.cpp
b/drivers/storage/ide/uniata/id_init.cpp
index 2eaa98e696..b9beb1bef0 100644
--- a/drivers/storage/ide/uniata/id_init.cpp
+++ b/drivers/storage/ide/uniata/id_init.cpp
@@ -1251,6 +1251,7 @@ for_ugly_chips:
for(c=0; c<deviceExtension->NumberChannels; c++) {
chan = &deviceExtension->chan[c];
+ AtapiSetupLunPtrs(chan, deviceExtension, c);
IsPata = FALSE;
if(ChipFlags & ICH5) {
KdPrint2((PRINT_PREFIX "ICH5\n"));