mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 17:03:02 +00:00
- Fix boot.
svn path=/trunk/; revision=22907
This commit is contained in:
parent
c693aa7a2b
commit
1b176ca010
1 changed files with 5 additions and 3 deletions
|
@ -251,10 +251,12 @@ IopParseDevice(IN PVOID ParseObject,
|
||||||
if (RemainingName->Length)
|
if (RemainingName->Length)
|
||||||
{
|
{
|
||||||
/* Setup the unicode string */
|
/* Setup the unicode string */
|
||||||
FileObject->FileName.MaximumLength = RemainingName->Length;
|
FileObject->FileName.MaximumLength = RemainingName->Length +
|
||||||
|
sizeof(WCHAR);
|
||||||
FileObject->FileName.Buffer = ExAllocatePoolWithTag(PagedPool,
|
FileObject->FileName.Buffer = ExAllocatePoolWithTag(PagedPool,
|
||||||
RemainingName->
|
FileObject->
|
||||||
Length,
|
FileName.
|
||||||
|
MaximumLength,
|
||||||
TAG_IO_NAME);
|
TAG_IO_NAME);
|
||||||
if (!FileObject->FileName.Buffer)
|
if (!FileObject->FileName.Buffer)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue