biSizeImage has an extra line added to it, and passing it to memcpy can cause a crash.
Attach a file by drag & drop or click to upload