Skip to content
Permalink
Browse files

[UDFS] Fix uninitialized var use in UDFCommonCreate, return the right…

… error code

CORE-16174
  • Loading branch information
Freakston authored and Extravert-ir committed Jan 10, 2020
1 parent 10a4ecd commit 88f7be101a6217e8026ec0a8b23137047db38299
Showing with 1 addition and 0 deletions.
  1. +1 −0 drivers/filesystems/udfs/create.cpp
@@ -1143,6 +1143,7 @@ UDFCommonCreate(
// 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);
}

0 comments on commit 88f7be1

Please sign in to comment.
You can’t perform that action at this time.