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

Fix/number of interfaces bug #39

Merged
merged 6 commits into from
Jul 10, 2024
Merged

Commits on Jul 9, 2024

  1. Try (harder?) to detect the real number of check_interfaces

    It seems like detecting the number of interfaces a device has is harder
    than one might think.
    Apparently those things lie HARD about that.
    If you then try to allocate memory for the result based on that,
    but try to write MORE results there, you get a segfault sooner or later.
    
    This patch iterates through the answer of the device and just counts
    them, so this is hopefully the safe way to do this.
    Lorenz Kästle committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    b303d26 View commit details
    Browse the repository at this point in the history
  2. Remove suspicious type cast

    Lorenz Kästle committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    da2dc56 View commit details
    Browse the repository at this point in the history
  3. Add tests for one specific device which is lying to us

    Lorenz Kästle committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    1e2fe6b View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Longer timeout for tests

    Lorenz Kästle committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    35338b1 View commit details
    Browse the repository at this point in the history
  2. Remove additional test, they are always running too long

    Lorenz Kästle committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    94d481f View commit details
    Browse the repository at this point in the history
  3. Remove -Werror for clang build

    Lorenz Kästle committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    d4d2ba1 View commit details
    Browse the repository at this point in the history