Skip to content

Commit 5f5e6fa

Browse files
committed
use PROCESS_QUERY_LIMITED_INFORMATION instead of PROCESS_QUERY_INFORMATION
1 parent 5d4425e commit 5f5e6fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DebugView++Lib/DBWinReader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void DBWinReader::Notify()
5757
}
5858
else
5959
{
60-
HANDLE handle = ::OpenProcess(PROCESS_QUERY_INFORMATION | SYNCHRONIZE, FALSE, m_dbWinBuffer->processId);
60+
HANDLE handle = ::OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION | SYNCHRONIZE, FALSE, m_dbWinBuffer->processId);
6161
#ifdef OPENPROCESS_DEBUG
6262
if (!handle)
6363
{

0 commit comments

Comments
 (0)