A mistake in some of the previous refactor which was aimed to make the byte buffer to be stored as uint8_t. One of the array size calculation was missing multiplication by 4 channels. Pull Request: https://projects.blender.org/blender/blender/pulls/112508