Stale pointer bug

id: stale-pointer-bug-191-945259
title: Stale pointer bug
text: A stale pointer bug, otherwise known as an aliasing bug, is a class of subtle programming errors that can arise in code that does dynamic memory allocation, especially via the malloc function or equivalent. If several pointers address a given chunk of storage, it may happen that the storage is freed or reallocated through one alias and then referenced through another, which may lead to subtle errors depending on the state and the allocation history of the malloc arena. This bug can be avoided by
brand slug: wiki
category slug: encyclopedia
description:
original url: https://en.wikipedia.org/wiki/Stale_pointer_bug
date created:
date modified: 2024-04-13T23:09:03Z
main entity: {"identifier":"Q7597225","url":"https://www.wikidata.org/entity/Q7597225"}
image:
fields total: 13
integrity: 13

Related Entries

Explore Next Part