DynamoRIO / DynamoRIO/drmemory

[win10 64 bits] UNINITIALIZED READ with stat64 with code compiled with msys2+mingw-w64

Open
#2,402 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

with programs compiled withmsys2+mingw-w64, there is an UNINITIALIZED READ with stat64

output :
```
Error #10: UNINITIALIZED READ: reading 0x0000004352bfda84-0x0000004352bfda88 4 byte(s) within 0x0000004352bfda80-0x0000004352bfda88
# 0 system call NtQueryDirectoryFileEx parameter value #6
# 1 KERNELBASE.dll!FindFirstFileExW +0x2d3 (0x00007ffd73359874 )
# 2 KERNELBASE.dll!FindFirstFileA +0x5e (0x00007ffd733a320f )
# 3 msvcrt.dll!stat64 +0xd1 (0x00007ffd740d8882 )
# 4 libeina-1.dll!stat [C:/_/M/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/stdio/_stat.c:92]
# 5 libeina-1.dll!eina_prefix_new [../src/lib/eina/eina_prefix.c:671]
etc....
```
is it normal ?

thank you

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.