Skip to content

wmfsm: hardcoded string sizes make the program crash #70

Description

@badsectoracula

wmfsm has some hardcoded limits for strings when parsing /etc/mtab which make it crash if for some reason the lines are longer than that. As a workaround i changed these to 16384 from 255 (which fixes my issue) but it might be a good idea to figure out a better approach than using fscanf on a loop.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions