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

memory allocation functions do not robustly handle case of --heap_size=0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-6501
    • Show
      https://e2e.ti.com/support/development_tools/compiler/f/343/t/579449 https://e2e.ti.com/support/development_tools/compiler/f/343/t/579454 https://e2e.ti.com/support/development_tools/compiler/f/343/t/579456
    • Hide
      ARM_18.12.0.LTS
      PRU_2.4.0*
      MSP430_18.12.0.LTS
      ARP32_1.1.0*
      C2000_18.12.0.LTS
      Show
      ARM_18.12.0.LTS PRU_2.4.0* MSP430_18.12.0.LTS ARP32_1.1.0* C2000_18.12.0.LTS
    • Hide
      C2000_18.12.4.LTS
      ARM_18.12.4.LTS
      PRU_2.4.0*
      ARP32_1.1.0*
      MSP430_18.12.4.LTS
      Show
      C2000_18.12.4.LTS ARM_18.12.4.LTS PRU_2.4.0* ARP32_1.1.0* MSP430_18.12.4.LTS
    • default
    • Hide
      It is possible to set the size of the allocation heap to a total size (such as zero) that is too small to handle any allocations. The C library's dynamic memory allocation routines (e.g. malloc) did not gracefully handle allocations in this case. These functions might crash, or might scribble on unrelated program memory, or might return successfully with a bogus pointer, in which case the caller would likely proceed to write through the bogus pointer and scribble on arbitrary memory.
      Show
      It is possible to set the size of the allocation heap to a total size (such as zero) that is too small to handle any allocations. The C library's dynamic memory allocation routines (e.g. malloc) did not gracefully handle allocations in this case. These functions might crash, or might scribble on unrelated program memory, or might return successfully with a bogus pointer, in which case the caller would likely proceed to write through the bogus pointer and scribble on arbitrary memory.

      memory allocation functions do not robustly handle case of --heap_size=0

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

              Created:
              Updated:
              Resolved: