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

Heap OSAL hangs if previous allocation has buffer overflow

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • PDK
    • PDK-12023
    • PROCESSOR_SDK_08.02.00
    • PROCESSOR_SDK_08.06.00
    • Hide
      j721e-evm
      j721s2-evm
      Show
      j721e-evm j721s2-evm

      Heap OSAL hangs if previous allocation has buffer overflow.  The design of the Heap OSAL uses a parameter called pxNextFreeBlock to essentially create a linked list of the buffers available.  However, if when writing to the previous free block allocation there is a buffer overflow, the next allocation will hang because the pxNextFreeBlock will have been overwritten.  This may require a redesign of the Heap OSAL given that this should not be susceptible to this type of error.

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

              Created:
              Updated:
              Resolved: