You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hMmfOutput is not checked that may lead to memory miss writes and cause crash of the program. It's not critical because FuseNode is designed to be killed when it reaches memory limit and FuseNode is autolaunched on the managed side.
FuseNode\main.cpp
printf("Opening files\n");
HANDLE hMmfInput = OpenFileMapping(FILE_MAP_READ, FALSE, InputFileAddress);
if (!hMmfInput)
{
fprintf(stderr, "Error on opening input file: %d", GetLastError());
return 1;
}
HANDLE hMmfOutput = OpenFileMapping(FILE_MAP_WRITE, FALSE, OutputFileAddress);
if (!hMmfInput)
{
fprintf(stderr, "Error on opening input file: %d", GetLastError());
return 1;
}
printf("Files are opened successfully\n");
The text was updated successfully, but these errors were encountered:
Issue Description:
hMmfOutput is not checked that may lead to memory miss writes and cause crash of the program. It's not critical because FuseNode is designed to be killed when it reaches memory limit and FuseNode is autolaunched on the managed side.
FuseNode\main.cpp
The text was updated successfully, but these errors were encountered: