drmemory icon indicating copy to clipboard operation
drmemory copied to clipboard

DrMemory 2.6.0 WinSock |recv()|/|send()| reports false-positive "UNINITIALIZED READ" errors

Open gisburn opened this issue 9 months ago • 2 comments

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

gisburn avatar Oct 30 '23 14:10 gisburn