StackOverflow Questions for Tag: malloc

Jinwoo Kim
Jinwoo Kim

Reputation: 621

Why does malloc initialize the allocated memory to zero?

Score: 0

Views: 139

Answers: 4

Read More
puneet336
puneet336

Reputation: 461

Unexpected fork failure with copy-on-write

Score: 0

Views: 25

Answers: 0

Read More
Pure White
Pure White

Reputation: 125

How to set a free strategy?

Score: 2

Views: 104

Answers: 1

Read More
greenlagoon
greenlagoon

Reputation: 121

Respecting alignment in a char buffer allocated with malloc that contains objects of different types, sizes and alignments

Score: 0

Views: 117

Answers: 0

Read More
Tapas Pal
Tapas Pal

Reputation: 7207

malloc: Heap corruption detected, free list is damaged

Score: 3

Views: 12251

Answers: 1

Read More
arkkimede
arkkimede

Reputation: 105

Problems using malloc

Score: 0

Views: 123

Answers: 2

Read More
Julian Zalewski
Julian Zalewski

Reputation: 402

Why does GCC’s static analyser falsely warn that a pointer to an allocated memory block itself stored in an allocated memory block may leak?

Score: 30

Views: 1981

Answers: 2

Read More
doog_math
doog_math

Reputation: 11

Python session crash when use SHAP

Score: 0

Views: 36

Answers: 0

Read More
DanglingPointer
DanglingPointer

Reputation: 1

How do fread and malloc affect RAM utilization in encryption process?

Score: 0

Views: 25

Answers: 0

Read More
Kamrul Hassan
Kamrul Hassan

Reputation: 21

Not able to merge free blocks together in my simple, custom, memory allocator

Score: 1

Views: 13

Answers: 0

Read More
Kyrol
Kyrol

Reputation: 3617

Difference between two malloc definition of a struct

Score: 0

Views: 615

Answers: 5

Read More
Kevin Stefanov
Kevin Stefanov

Reputation: 27

(GNU+Linux) Multiple threads calling malloc() at the same time

Score: 1

Views: 522

Answers: 2

Read More
Pierre
Pierre

Reputation: 2100

Why does calloc allocate a new chunk instead of reusing tcache memory?

Score: 2

Views: 115

Answers: 0

Read More
ConnorEE
ConnorEE

Reputation: 1

How to access a double pointer to an array in a structure with a pointer to the structure

Score: 0

Views: 62

Answers: 0

Read More
Luke Rossenvalden
Luke Rossenvalden

Reputation: 17

Function with a malloc on a pointer declared in main()

Score: 0

Views: 53

Answers: 1

Read More
user2840470
user2840470

Reputation: 979

Malloc and memcpy struct plus array

Score: 1

Views: 693

Answers: 1

Read More
Filip
Filip

Reputation: 111

malloc() returns a pointer to a wrong memory section

Score: 1

Views: 128

Answers: 0

Read More
Pauli
Pauli

Reputation: 672

How to allocate contiguous 2D array of strings in C

Score: 2

Views: 7909

Answers: 3

Read More
sam32
sam32

Reputation: 335

What if malloc fails?

Score: 29

Views: 26750

Answers: 10

Read More
Linas
Linas

Reputation: 31

Displaying an element of a linked list

Score: 0

Views: 75

Answers: 2

Read More
PreviousPage 2Next