DynamoRIO / DynamoRIO/drmemory

UNINIT "<sys.call> NtDeviceIoControlFile InputBuffer" below CryptImportKey and CryptDestroyHash on Windows 7

Open
#479 2 comments 0 reactions 0 assignees View on GitHub
Bug-FalsePositive Migrated OpSys-Win7 Priority-Medium
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

_From [timurrrr@google.com](https://code.google.com/u/timurrrr@google.com/) on June 28, 2011 10:37:53_

Seen on Chromium remoting_unittests: http://build.chromium.org/p/chromium.fyi/builders/Windows%20Tests%20%28DrMemory%20Win%207%29/builds/969/steps/memory%20test%3A%20remoting/logs/stdio Repro is attached.

On W7, it gives the following reports [besides those suppressed by the Chromium suppression file]:
Error `#1`: UNINITIALIZED READ: reading 0x0018f464-0x0018f46c 8 byte(s) within 0x0018ef3c-0x0018f46c
@0:00:06.771 in thread 424
system call NtDeviceIoControlFile InputBuffer

0x74c7a583 RSAENH.dll!CPSetHashParam
0x74c7aeac RSAENH.dll!CPSignHash
0x74c7b284 RSAENH.dll!CPGetUserKey
0x74cb52ba CRYPTSP.dll!CryptImportKey
0x00402f3c test.exe!main
c:\sandbox\importkey\test.cpp:100

Error `#3`: UNINITIALIZED READ: reading 0x0018f6c4-0x0018f6cc 8 byte(s) within 0x0018f19c-0x0018f6cc
@0:00:07.578 in thread 424
system call NtDeviceIoControlFile InputBuffer

0x74c7a583 RSAENH.dll!CPSetHashParam
0x74c7a96f RSAENH.dll!CPSignHash
0x74c7a854 RSAENH.dll!CPSignHash
0x74cb5ab3 CRYPTSP.dll!CryptDestroyHash
0x74cb5b7d CRYPTSP.dll!CryptSignHashA
0x004030af test.exe!main
c:\sandbox\importkey\test.cpp:118

**Attachment:** [479.cpp](http://code.google.com/p/drmemory/issues/detail?id=479)

_Original issue: http://code.google.com/p/drmemory/issues/detail?id=479_

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.