- Fix boot.

svn path=/trunk/; revision=22907
This commit is contained in:
Alex Ionescu 2006-07-08 04:13:50 +00:00
parent c693aa7a2b
commit 1b176ca010

View file

@ -251,10 +251,12 @@ IopParseDevice(IN PVOID ParseObject,
if (RemainingName->Length)
{
/* Setup the unicode string */
FileObject->FileName.MaximumLength = RemainingName->Length;
FileObject->FileName.MaximumLength = RemainingName->Length +
sizeof(WCHAR);
FileObject->FileName.Buffer = ExAllocatePoolWithTag(PagedPool,
RemainingName->
Length,
FileObject->
FileName.
MaximumLength,
TAG_IO_NAME);
if (!FileObject->FileName.Buffer)
{