Skip to content

Resource::find_object can go into infinite loop/recursion #9

@tadeboro

Description

@tadeboro

Steps to reproduce:

  1. Start a mock server (trying this on a real server is not the best idea).
  2. Open python REPL and run redfish_client.connect("http://localhost:8000", "user", "pass").Systems.Members[0].find_object("bad").

Expected result: find_object reports that "bad" cannot be found.

Actual result: find_object recursively scrapes the whole Redfish API, goes into a loop and eventually dies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions