DynamoRIO / DynamoRIO/drmemory

Uninit & unaddr reports in WINSPOOL.DRV

Open
#40 1 comment 0 reactions 0 assignees View on GitHub
Bug-FalsePositive Migrated OpSys-Windows 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 August 30, 2010 09:22:42_

As of r41 / r414 , the following code gives 2 unaddr and 19 uninit and 1 invalid heap heports:
#

#include
#include
#pragma comment(lib, "winspool.lib")

int main() {
HANDLE printer;
assert(OpenPrinter(NULL, &printer, NULL));
ClosePrinter(printer);
return 0;
}
#

cl /Zi test.cpp && drmemory.exe test.exe

I'll temporary suppress everything under WINSPOOL.DRV for Chromium.

Do you think it makes sense to check memory errors inside WINSPOOL at all?

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

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

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.