Uploaded image for project: 'IoTivity'
  1. IoTivity
  2. IOT-1503

[ES] delayed discovery response would make a crash when registered callback becomes NULL.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Undecided
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: IoTivity 1.2.0
    • Component/s: Primitive Service
    • Labels:
      None
    • Found in Version/s:
      1.2-rel
    • Fixed in Version/s:
      1.2
    • Operating System:
      Ubuntu
    • Issue Severity:
      Major
    • Reproducibility:
      Always (100%)

      Description

      1. Call findresource with a callback function in cloud provisioning.
      2. some of Enrollee in a given network will respond with the request.
      3. On a targetr enrollee is discoved, cloud provisioning proceeds.
      4. After cloud provisioning, the callback for discovery is destroyed.
      5. After then, a Enrollee in a given newtork sends a response now.

      In step 5, because the callback is destroyed, a crash would happen.

        Attachments

          Activity

            People

            • Assignee:
              jihun.ha Jihun Ha
              Reporter:
              jihun.ha Jihun Ha
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: