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: issue when multiple forks happen #1763

Merged
merged 1 commit into from
Dec 5, 2024
Merged

Fix: issue when multiple forks happen #1763

merged 1 commit into from
Dec 5, 2024

Commits on Dec 5, 2024

  1. Fix: double forking isn't possible

    Given:
    
    ```
    set_kb_item(name: "port", value: 1);
    set_kb_item(name: "port", value: 2);
    set_kb_item(name: "port", value: 3);
    set_kb_item(name: "port", value: 4);
    set_kb_item(name: "port", value: 5);
    
    set_kb_item(name: "host", value: "a");
    set_kb_item(name: "host", value: "b");
    
    p = get_kb_item("port");
    h = get_kb_item("host");
    
    display(h, ":", p);
    ```
    
    it should print every combination of host and port.
    
    This is done by changing the skip_values from an optional to vector
    and not removing it to allow multiple lookups within one statements.
    nichtsfrei committed Dec 5, 2024
    Configuration menu
    Copy the full SHA
    3f1b2e3 View commit details
    Browse the repository at this point in the history