Skip to content

overflow in wcsncmp #7

@boris768

Description

@boris768

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 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions