Hey,
I'm doing some weird things (mix of C/C++), and I'd like to know if I was allowed to use malloc(0):
Or if Windows may crash after that...Code:#include <stdlib.h>
int main()
{
int *i = malloc (0);
free(i);
return 0;
}
I succeeded making Windows crash with my weird programs once :p