Skip to content

parameter validation #407

Description

@anbe42

dkms needs to perform more parameter validation on things that end up as path components

parameters can come from

  • command line
  • dkms.conf (package and various local override files)
  • framework.conf

Possible bad stuff that can be contained:

  • leading/trailing whitespace
  • embedded whitespace
  • embedded funny characters (can we restrict everything to a subset of 7-bit ascii or do we need to allow <emoji>.ko for linux-1.2.3-e<moj>i?)
  • slashes in module names, module versions, kernel versions, architectures
  • .. in paths
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions