Skip to content

Missing input sanitation #26

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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