crvvdev/MasterHide

overflow in wcsncmp

boris768 opened this issue · 0 comments

if ( ObjName->Name.Buffer && !wcsncmp( L"\\Windows\\ApiPort", ObjName->Name.Buffer, 20 ) )

"\Windows\ApiPort" lenght is 17, not 20

wcsncmp( L"\\Windows\\ApiPort", ObjName->Name.Buffer, 17 )