Collections-C
Collections-C copied to clipboard
The call to mem_alloc in cc_array_subarray() is unsafe
https://github.com/srdja/Collections-C/blob/5285da8dcd3dbfe32f960abc7bf287db0d2600c5/src/cc_array.c#L479
Because ar->capacity * sizeof(void*)
can overflow. Should use ar->mem_calloc
.