Author: pschweitzer
Date: Thu Nov  3 21:49:55 2016
New Revision: 73114

URL: http://svn.reactos.org/svn/reactos?rev=73114&view=rev
Log:
[NTOSKRNL]
In IoWritePartitionTableEx(), don't return STATUS_SUCCESS when we cannot write 
GPT to higher partitions count than space available; return 
STATUS_INVALID_PARAMETER.

Modified:
    trunk/reactos/ntoskrnl/fstub/fstubex.c

Modified: trunk/reactos/ntoskrnl/fstub/fstubex.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fstub/fstubex.c?rev=73114&r1=73113&r2=73114&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/fstub/fstubex.c      [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/fstub/fstubex.c      [iso-8859-1] Thu Nov  3 
21:49:55 2016
@@ -2509,6 +2509,10 @@
                                                              
DriveLayout->PartitionEntry);
                     }
                 }
+                else
+                {
+                    Status = STATUS_INVALID_PARAMETER;
+                }
             }
             break;
 


Reply via email to