mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 08:54:40 +00:00
- Fix boot.
svn path=/trunk/; revision=22907
This commit is contained in:
parent
c693aa7a2b
commit
1b176ca010
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue