DynamoRIO / DynamoRIO/dynamorio
CRASH: win8 LrdLoadDll path arg is a small non-zero integer
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on September 19, 2012 10:45:25_
win8 LdrLoadDll seems to be passed 0x9 instead of a wide char string. this results in a crash at -loglevel 2 when we try to print it out. this case covers investigating further. all instances I've seen pass 0x9 instead of a path.
03 1f90eea4 1f891f74 dynamorio!intercept_load_dll+0xf6 [c:\derek\dr\git\src\core\win32\callback.c @ 6080]
0:001> dv
state = 0x1f90eeb0
path = 0x00000009
name = 0x03ddf6b0 "C:\Windows\system32\uxtheme.dll"
tr = 0x1f8792a0
characteristics = 0x03ddf6a0
out_handle = 0x03ddf6a4
0:001> dds @@(state->mc.xsp)
03ddf67c 76bae7db KERNELBASE!LoadLibraryExW+0x142
03ddf680 00000009
03ddf684 03ddf6a0
03ddf688 03ddf6b0
03ddf68c 03ddf6a4
03ddf690 03ddf824
03ddf694 00000000
03ddf698 00000000
03ddf69c 00000000
it seems that other projects have hit this: https://bugzilla.mozilla.org/show_bug.cgi?id=694432
_Original issue: http://code.google.com/p/dynamorio/issues/detail?id=903_
Contributor guide
Assessment
This issue has not been assessed yet.