Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parameter validation #407

Open
anbe42 opened this issue Mar 16, 2024 · 0 comments
Open

parameter validation #407

anbe42 opened this issue Mar 16, 2024 · 0 comments

Comments

@anbe42
Copy link
Contributor

anbe42 commented Mar 16, 2024

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant