3 ms·
Yeah, very unsafe-looking API. Maybe the assumption is that output buffer is at least w*h bytes in size (I think this is for indexed-color images, so each pixel
by pavlov 8y ago
Yeah, very unsafe-looking API. Maybe the assumption is that output buffer is at least w*h bytes in size (I think this is for indexed-color images, so each pixel is presumably a byte).
- kevingadd 8y agoIt's a toy virtual machine with (iirc) fixed memory and fixed address space, running in a sandbox. so an overflow isn't really a big concern.