DynamoRIO / DynamoRIO/drmemory
DrMemory 2.6.0 WinSock |recv()|/|send()| reports false-positive "UNINITIALIZED READ" errors
Open
- Dominant language
- C
- Stars
- 2.7k
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
WinSock2 |recv()| (WS2_32.dll!recv) reports false-positive "UNINITIALIZED READ" errors. Same happens with WinSock2 |send()|
**To Reproduce**
See https://www.binarytides.com/receive-full-data-with-recv-socket-function-in-c/ for a minimised |recv()| example code. Compile with MinGW or VC19.
**Expected behavior**
DrMemory should not report "UNINITIALIZED READ"
**Versions**
- What version of Dr. Memory are you using?
DrMemory 2.6.0 from https://github.com/DynamoRIO/drmemory/releases/download/release_2.6.0/DrMemory-Windows-2.6.0.msi
- Is your application 32-bit or 64-bit?
64bit
Contributor guide
Assessment
This issue has not been assessed yet.