Search code examples
Malloc always returns a NULL pointer; Visual Studio 2022...


c++visual-studiomallocrealloccalloc

Read More
invalid pointer in realloc...


cpointersscanfundefined-behaviorrealloc

Read More
realloc says invalid pointer unless unrelated for-loop commented out...


cfor-loopdynamic-memory-allocationreallocinvalid-pointer

Read More
vsnprintf fails after realloc...


cvariadic-functionsrealloc

Read More
realloc fails in simple dict library...


cmemory-managementmemory-leaksheap-memoryrealloc

Read More
How does C's realloc differentiate between an array of ints and a single int?...


cmallocrealloc

Read More
C (glibc), realloc error "corrupted size vs. prev_size Aborted"...


cmemoryrealloc

Read More
Passing an array of strings as argument and modifying it dynamically within the function in C...


arrayscstringrealloc

Read More
Resizing Heap Memory...


cmemory-managementmemory-leaksmallocrealloc

Read More
Inserting into a dynamic character array while using realloc()...


csegmentation-faultmallocreallocgetc

Read More
How do I free struct pointers with nested double pointers?...


cmemory-managementfreerealloc

Read More
using realloc to write on a new string?...


cduplicatesc-stringsreallocfunction-definition

Read More
Why am I getting errors when debugging realloc?...


arrayscrealloc

Read More
What is the difference between `ptr = (int *) realloc(ptr,sizeof(int));` and `ptr = (int *) realloc(...


crealloc

Read More
C Increase char array of char array size...


cmultidimensional-arraydynamic-memory-allocationc-stringsrealloc

Read More
How does malloc and free work with errors?...


cmallocfreerealloc

Read More
How to properly access this realloc-ed array?...


cdynamic-memory-allocationreallocfunction-definition

Read More
Why does my C program crash when I try to realloc() a pointer array of structs?...


cstructmallocrealloc

Read More
Realloc function returning a null pointer when manipulating strings...


crealloc

Read More
In C is it possible to shrink the allocated memory without moving it?...


cfreerealloc

Read More
Trace/breakpoint trap during reallocation...


cgraphdynamic-memory-allocationbreakpointsrealloc

Read More
invalid pointer when using realloc to read from file...


cfilepointersrealloc

Read More
Array of strings memory reallocation in C...


arrayscstringpointersrealloc

Read More
Find if allocation is trivially resizable?...


c++cmemory-managementrealloc

Read More
gdb claims realloc() or free() corrupt memory while valgrind claims non-null terminated array run of...


cheap-memoryreallocstrcatcorrupt

Read More
Why Win32 HeapReAlloc() changes values?...


cwinapimemory-managementheap-memoryrealloc

Read More
realloc() deletes first element...


creturn-valuedynamic-memory-allocationrealloc

Read More
dynamically allocating memory to save user input in it...


cpointersdynamic-memory-allocationrealloc

Read More
Double an array dynamically...


arrayscrealloc

Read More
Passing an array pointer to a function and then reallocating the array and changing its values in C...


arrayscsegmentation-faultmallocrealloc

Read More
BackNext