Skip to content

size of Semaphore ID is Uint32, not Uint16 #5

@mogar

Description

@mogar

In to_app.c, line 688, uiCntSemId is declared as a uint16. That is not large enough to hold a full semaphore ID, which causes issues if the semaphore is intended to be used for CF/TO handshaking. This variable should be a uint32.

See this line:

uint16 uiCntSemId;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions