Skip to content

Missing input sanitation #26

@xhenner

Description

@xhenner

There are some sanity checks that should be added.

If you try echo "rgb" > /run/g13d/g13-0 or echo "dump" > /run/g13d/g13-0, the program fails with a core dump.

I'm not familiar with C++ and cannot provide a MR to fix that :( but a bad command should return an error, not crashing the program

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions