ntdll: Zero reserved fields of the request structure in DVD_ReadDescriptor().
This commit is contained in:
parent
6077b623f2
commit
454467dc93
|
@ -2640,6 +2640,7 @@ static NTSTATUS DVD_ReadStructure(int dev, const DVD_READ_STRUCTURE *structure,
|
|||
} nt_desc;
|
||||
|
||||
nt_desc.layer = layer;
|
||||
RtlZeroMemory(&dvdrs, sizeof(dvdrs));
|
||||
dvdrs.address = (uint32_t)(structure->BlockByteOffset.QuadPart>>11);
|
||||
dvdrs.grantID = (uint8_t)structure->SessionId;
|
||||
dvdrs.layer = structure->LayerNumber;
|
||||
|
|
Loading…
Reference in New Issue