GapAdv_prepareLoadByHandle may cause memory issues when executed on a NULL pointer

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • SimpleLink Lowpower SDK F3 BLE5 Stack
    • BLE_LOKI-1910
    • BLE Stack BLE5-3.3.1 RC6
    • Hide
      BLE Stack BLE5-3.3.2 RC1
      BLE Stack BLE5-3.3.1 PR2
      BLE Stack BLE5-3.3.2
      BLE Stack BLE5-3.3.1 PR2 RC1
      Show
      BLE Stack BLE5-3.3.2 RC1 BLE Stack BLE5-3.3.1 PR2 BLE Stack BLE5-3.3.2 BLE Stack BLE5-3.3.1 PR2 RC1
    • CC23XX

      GapAdv_prepareLoadByHandle API prepares advertising for a given handle and optionally frees the old data that was being used for advertisement / scan response data depending on the received freeOptions.

      Before the data is freed, there is no check if the pointer is NULL and after the data is freed, the pointer value is not set to NULL.

      This behavior can cause memory issues.

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-4658 - GapAdv_prepareLoadByHandle may caus...
                SYNCHRONIZED
                • Last Sync Date: