ntdll: Zero reserved fields of the request structure in DVD_ReadDescriptor().

This commit is contained in:
Charles Davis 2012-02-13 17:06:36 -07:00 committed by Alexandre Julliard
parent 6077b623f2
commit 454467dc93

View file

@ -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;