Search code examples
Malloc makes code crash in C while doing merge sort...


calgorithmmallocmergesort

Read More
If a function is marked “__attribute__((malloc))”, does that mean it must not initialize memory behi...


cgccattributesmalloc

Read More
Why does malloc rely on mmap starting from a certain threshold?...


linuxperformancememory-managementmalloc

Read More
How do I use thread-specific storage safely?...


cmultithreadingmallocc11thread-specific-storage

Read More
Create a new variable each time a function is called...


cmalloc

Read More
Under what circumstances can malloc return NULL?...


cmemory-managementmalloc

Read More
malloc_usable_size() returns the wrong size...


cmemorymalloc

Read More
Decent ways to handle malloc failure?...


cmallocfree

Read More
variable name change causes segfault (datatype same name as the variable, used with malloc)...


cstructsegmentation-faultmallocvariable-names

Read More
How can I find the cause of a malloc "double free" error?...


iphoneobjective-cmemory-managementmallocautorelease

Read More
Valgrind 1017 calloc/memcopy of struct dirent OK, 1018th -- invalid read...


cstructmallocopendir

Read More
Simple C malloc question that prints garbage on multiple invocations...


cmallocbit

Read More
How to try catch finally in c...


csegmentation-faultmallocfree

Read More
How to free the value inside struct in c...


cpointersmallocfree

Read More
What's the point of malloc(0)?...


cmalloc

Read More
What to use when malloc array length in c...


cmallocsizeof

Read More
STM32 hardfault at free...


cmallocmicrocontrollerfreestm32

Read More
Function with a malloc on a pointer declared in main()...


arrayscpointersmalloc

Read More
Freeing a dynamically allocated string with an internal null byte...


cmallocdynamic-memory-allocationfree

Read More
What's a good C memory allocator for embedded systems?...


cembeddedluamallocallocation

Read More
How to do *user defined reduction* on *allocatable array* and *user reduction functions* with openMP...


cmallocopenmp

Read More
What REALLY happens when you don't free after malloc before program termination?...


cmallocfree

Read More
Dynamic memory allocation in embedded C...


cmemoryembeddedmallocram

Read More
How do I calculate the end address of a C struct in memory?...


cpointersstructmalloc

Read More
Stack vs. heap pointers in C...


cpointersmallocheap-memorystack-memory

Read More
Writing a Von Neumann Ordinal generator in C : Problem with malloc...


csetmallocfreevon-neumann

Read More
Is it safe to call free on std::string_view::data?...


c++mallocc-stringsfreestring-view

Read More
Why is malloc returning NULL here?...


cpointersnullmalloc

Read More
Make malloc allocate from already allocated buffer...


c++memory-managementmallocnew-operator

Read More
Why do modern compilers assume malloc never fails?...


c++gccclangmalloccompiler-optimization

Read More
BackNext