mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Fix boot.
svn path=/trunk/; revision=22907
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user