Skip to content

engine_status_dump buffer overflow #314

@dmitrym1

Description

@dmitrym1

In function engine_status_dump() there is char buffer[256]. If engine status is 0xFFFFFFFF, which means all possible flags, calling engine_status_dump() causes buffer overflow and kernel crash. This is impossible in normal conditions and could only be triggered by another problem. But function engine_status_dump() is a diagnostic function and thus should not lead to crash even if input makes no sense. The problem could be fixed by increasing buffer size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions