https://git.reactos.org/?p=reactos.git;a=commitdiff;h=88f7be101a6217e8026ec…
commit 88f7be101a6217e8026ec0a8b23137047db38299
Author: Suraj K Suresh <kssuraj15(a)gmail.com>
AuthorDate: Fri Jan 10 15:39:14 2020 +0530
Commit: Victor Perevertkin <victor(a)perevertkin.ru>
CommitDate: Sat Jan 11 02:45:45 2020 +0200
[UDFS] Fix uninitialized var use in UDFCommonCreate, return the right error code
CORE-16174
---
drivers/filesystems/udfs/create.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/filesystems/udfs/create.cpp b/drivers/filesystems/udfs/create.cpp
index 6455389d52b..a00038e3d0b 100644
--- a/drivers/filesystems/udfs/create.cpp
+++ b/drivers/filesystems/udfs/create.cpp
@@ -1143,6 +1143,7 @@ op_vol_accs_dnd:
// Only say ..CK OFF !!!!
if(RC == STATUS_OBJECT_NAME_NOT_FOUND)
RC = STATUS_OBJECT_PATH_NOT_FOUND;
+ ReturnedInformation = FILE_DOES_NOT_EXIST;
try_return(RC);
}