DynamoRIO / DynamoRIO/dynamorio

CRASH (4.2.0-3 notepad.exe) client calling ADVAPI32!ConvertStringSecurityDescriptorToSecurityDescriptorA

Open
#1,389 5 comments 0 reactions 0 assignees View on GitHub
Bug-DRCrash Migrated Priority-Medium
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

_From [jannew...@google.com](https://code.google.com/u/112145647090500735738/) on March 13, 2014 09:37:23_

What version of DynamoRIO are you using? 4.2.0-3 Does the latest build from http://build.chromium.org/p/client.dynamorio/builds/ solve the problem? No. What operating system version are you running on? Win7 x64. What application are you running? notepad.exe Is your application 32-bit or 64-bit? 32-bit. How are you running the application under DynamoRIO? drrun -c $poc -- C:\windows\system32\notepad.exe What happens when you run without any client? No error.

What happens when you run with debug build ("-debug" flag to drrun/drconfig/drinject)? The same messagebox appears. What steps will reproduce the problem? 1. Compile poc.cc
2. Run client with notepad.exe 3. What is the expected output? What do you see instead? Is this an application crash, a DynamoRIO crash, a DynamoRIO assert, or a hang (see https://code.google.com/p/dynamorio/wiki/BugReporting and set the title appropriately)? This poc code triggers a platform exception (see screenshot). Please provide any additional information below. It seems the call to "ConvertStringSecurityDescriptorToSecurityDescriptor" in poc2.cc causes the bug.

**Attachment:** [app_crash.png poc2.cc CMakeLists.txt](http://code.google.com/p/dynamorio/issues/detail?id=1389)

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

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.