StackOverflow Questions for Tag: dangling-pointer

Tootsie
Tootsie

Reputation: 909

Using the address of a dangling variable without dereferencing it

Score: 3

Views: 128

Answers: 0

Read More
Mikhail
Mikhail

Reputation: 21799

How to pass an rvalue std::vector to a function accepting std::span

Score: 2

Views: 250

Answers: 2

Read More
Miaan
Miaan

Reputation: 1

Lambda and std::function causing dangling reference (segmentation fault)

Score: 0

Views: 63

Answers: 1

Read More
TwiceUponATime
TwiceUponATime

Reputation: 3

Segfault in Rust when calling a function returned by a cdylib crate function

Score: 0

Views: 66

Answers: 1

Read More
Enlico
Enlico

Reputation: 28490

Why doesn't std::array<T,N>::operator[] return an rvalue reference for rvalue object?

Score: 0

Views: 58

Answers: 0

Read More
Brave
Brave

Reputation: 337

Detecting dangling pointer caused by realloc using static analyze tools

Score: 1

Views: 42

Answers: 0

Read More
Ivan K.
Ivan K.

Reputation: 23

Why does the initialization of a reference to the base class object with the child class object lead to a dangling reference?

Score: 2

Views: 115

Answers: 1

Read More
code muncher
code muncher

Reputation: 1682

What is a dangling pointer?

Score: 78

Views: 111559

Answers: 8

Read More
Avi Shukron
Avi Shukron

Reputation: 6118

Can a local variable's memory be accessed outside its scope?

Score: 1171

Views: 308169

Answers: 21

Read More
Ian Ringrose
Ian Ringrose

Reputation: 51927

What is the difference between a weak reference and an unowned reference?

Score: 269

Views: 88127

Answers: 8

Read More
Stackyquest
Stackyquest

Reputation: 11

How to run Valgrind and other tools to check memory leaks in Visual studio code?

Score: 1

Views: 8977

Answers: 1

Read More
Fedor
Fedor

Reputation: 21307

Can dangling pointer be equal to valid pointer during constant evaluation in C++?

Score: 9

Views: 285

Answers: 1

Read More
joesan
joesan

Reputation: 15435

Handling Dangling Pointers in Go

Score: 10

Views: 3047

Answers: 1

Read More
Fewnity
Fewnity

Reputation: 39

Dangling pointer issue C++

Score: -2

Views: 149

Answers: 2

Read More
Samuil Dimitrov
Samuil Dimitrov

Reputation: 3

OLECHAR used as pointer - will it dangling pointer if not nullptr? Function CoTaskMemFree()

Score: 0

Views: 38

Answers: 1

Read More
mfaani
mfaani

Reputation: 36397

How can I demonstrate a zombie object in Swift?

Score: 6

Views: 5434

Answers: 4

Read More
sam
sam

Reputation: 866

question on properly managing reference members in a local class in C++

Score: 0

Views: 49

Answers: 0

Read More
ktqq99
ktqq99

Reputation: 35

Does the following program contain a dangling reference?

Score: 0

Views: 55

Answers: 1

Read More
Horsio
Horsio

Reputation: 3

How to look for dangling pointers?

Score: 0

Views: 340

Answers: 1

Read More
Tom Huntington
Tom Huntington

Reputation: 3435

Coroutines: Do co_yielded string_views dangle?

Score: 3

Views: 126

Answers: 1

Read More
PreviousPage 1Next