mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
mountmgr: Include the terminating NULL in mount ids.
Some "protection" schemes expect these to be at least 2 bytes long.
This commit is contained in:
parent
040c33de5a
commit
5ab440e398
@ -423,7 +423,7 @@ static void create_drive_mount_points( DRIVER_OBJECT *driver )
|
||||
{
|
||||
*p = 'a' + i;
|
||||
if (!(link = read_symlink( buffer ))) continue;
|
||||
add_mount_point( driver, DRIVE_FIXED, i, link, strlen(link) );
|
||||
add_mount_point( driver, DRIVE_FIXED, i, link, strlen(link) + 1 );
|
||||
RtlFreeHeap( GetProcessHeap(), 0, link );
|
||||
}
|
||||
RtlFreeHeap( GetProcessHeap(), 0, buffer );
|
||||
|
Loading…
Reference in New Issue
Block a user