Skip to content

BLE: Infinite calling loop GapAdvertisingData::findField #4799

@Nodraak

Description

@Nodraak

Description

  • Type: Bug
  • Priority: Major

All targets (supporting feature BLE), all toolchains, latest mbed-os version.

Expected behavior: calling Gap::getAdvertisingPayload::findField(xx) returns

Actual behavior: findField(xx) calls findField(xx) which resolve to the same function leading to a infinite calling loop. I believe it was supposed to call the private function with the same name but it resolves to the public function which is itself.

Link to faulty function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions