Hacker News new | ask | show | jobs
by tremon 1390 days ago
What would memset(arr, 0, sizeof(arr)) do in that case? I can see myriad problems with having arr itself point outside the memory range allocated to arr[min..max].