Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-10963

IPC RPMessage_recv() timeout issue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • PDK
    • PDK-12234
    • PROCESSOR_SDK_08.02.00
    • PROCESSOR_SDK_08.05.00
    • Hide
      j721e-evm
      j7200-evm
      j721s2-evm
      j784s4-evm
      Show
      j721e-evm j7200-evm j721s2-evm j784s4-evm

      In the event that RPMessage_recv() has a a timeout the recv_buffer is not cleaned up and can lead to a corruption:

      "In case of no incoming message already available at the call time, RPMessage_recv() saves the data pointer passed to it, for use in incoming message handler, and then sleeps.

      This sleep can be terminated by timeout or other error condition. In this case, the saved pointer was left. Later, on arrive of incoming message, that message was copied to the memory pointed by that pointer, causing overwrite of whatever is in that memory, and unpredictable consequences."

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: