DynamoRIO / DynamoRIO/drmemory
NtSetInformationProcess unitialized read
- Dominant language
- C
- Stars
- 2.7k
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
_From [pwcame...@gmail.com](https://code.google.com/u/115973093480634532778/) on June 11, 2013 13:13:07_
Compiled with VS2012, default release 32 config with opt disabled.
#include
#include
int _tmain(int argc, _TCHAR\* argv[])
{
std::wstring src(L"c:\temp\foo.txt");
std::wstring dest(L"c:\temp\bar.txt");
BOOL b = ::MoveFileW(src.c_str(), dest.c_str());
return 0;
}
Gives:
```
Dr. Memory version 1.5.1418
```
Error `#1`: UNINITIALIZED READ: reading 0x0075be69-0x0075be6c 3 byte(s) within 0x0075be68-0x0075be9e
system call NtSetInformationFile parameter `#2`
KERNEL32.dll!BasepCheckWinSaferRestrictions
??:0
KERNEL32.dll!MoveFileWithProgressW
??:0
KERNEL32.dll!MoveFileW
??:0
wmain What version of the product are you using? On what operating system? Dr. Memory build 1418 on Win7 x64
Seems somewhat related to issue `#1228` , but r1369 does not fix this.
_Original issue: http://code.google.com/p/drmemory/issues/detail?id=1268_
Contributor guide
Assessment
This issue has not been assessed yet.