Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Calling free() on a block of dynamic memory informs the heap manager that the memory should be deallocated and made available for future allocations. However, the data stored in the block of memory to be recycled may be preserved. If this memory block contains sensitive information, such as passwords, that information may be unintentionally exposed. This phenomenon is referred to as Heap inspection ref