Image

Imageeurijk wrote in Imagecpp

char buf[123]; vs char *buf = new char[123];

What would cause...

char buf[1048576];

to segfault and

char *buf = new char[1048576];
delete buf;

not to?

I seem to run into this a lot with dynamic modules...
>;-)