StackOverflow Questions for Tag: malloc

Desert Wind
Desert Wind

Reputation: 3

C, how to fill in an allocated struct with strings of fixed sizes

Score: 0

Views: 41

Answers: 0

Read More
sampathA
sampathA

Reputation: 21

Handling multiple memory mangers in C++

Score: 1

Views: 58

Answers: 0

Read More
E. Case
E. Case

Reputation: 71

nf90_create causes forrtl: error (76): Abort trap signal from malloc(): corrupted top size

Score: -1

Views: 40

Answers: 0

Read More
Khanh H
Khanh H

Reputation: 43

Is it safe to use _malloca with std::unique_ptr with a custom deleter to _freea?

Score: 4

Views: 96

Answers: 1

Read More
Preetam Das
Preetam Das

Reputation: 13

Fixed-address mmap call segfault when invoked from main but works inside custom malloc override in C++

Score: 1

Views: 113

Answers: 2

Read More
Julie Brooks
Julie Brooks

Reputation: 11

Buffer Overflow in myMalloc Implementation

Score: 0

Views: 52

Answers: 0

Read More
Mohd Afzal
Mohd Afzal

Reputation: 7

Is there a way to increase the size of a memory allocation after initialization C++?

Score: -2

Views: 158

Answers: 4

Read More
MrZigha
MrZigha

Reputation: 422

How to program a malloc() implementation with correct pointer alignment in C

Score: 4

Views: 279

Answers: 0

Read More
Aidan
Aidan

Reputation: 69

Why cant I free the char buffer after assigning the last index to null terminator (\0)

Score: 3

Views: 89

Answers: 1

Read More
Vaibhav
Vaibhav

Reputation: 5947

Why is the use of alloca() not considered good practice?

Score: 512

Views: 213982

Answers: 26

Read More
user4221591
user4221591

Reputation: 2180

realloc function dynamic array size more than stated

Score: 2

Views: 88

Answers: 1

Read More
Tran Triet
Tran Triet

Reputation: 1319

Cannot use mincore to check whether page allocated by malloc is in ram

Score: 1

Views: 37

Answers: 2

Read More
ruxob
ruxob

Reputation: 13

How to use malloc with madvise and enable MADV_DONTDUMP option

Score: 0

Views: 3237

Answers: 3

Read More
Doohyeon Won
Doohyeon Won

Reputation: 329

Decent ways to handle malloc failure?

Score: 4

Views: 301

Answers: 6

Read More
Tohar
Tohar

Reputation: 23

How to allocate a 2D array of pointers to a struct

Score: 0

Views: 2630

Answers: 1

Read More
Jimmy
Jimmy

Reputation: 45

Segment fault ( core dumped ) from malloc() but I can't see where the problem is coming from

Score: 0

Views: 100

Answers: 1

Read More

Efficient memory management with JIT?

Score: 1

Views: 241

Answers: 0

Read More
rat
rat

Reputation: 19

void* function doesn't retain a pointer to the allocated memory inside another function

Score: 0

Views: 57

Answers: 1

Read More
Frank
Frank

Reputation: 29

Using malloc to create triple pointer from 3d array to be passed to function which takes a triple pointer as an argument and updates its elements

Score: 0

Views: 198

Answers: 3

Read More
tvxth
tvxth

Reputation: 1

realloc fails when running ./out.exe via Makefile, but works when run manually

Score: 0

Views: 131

Answers: 1

Read More
PreviousPage 1Next