bkaradzic / bimg

Image library.
BSD 2-Clause "Simplified" License
327 stars 268 forks source link

DDS Image loading error #49

Open jeremy97 opened 4 years ago

jeremy97 commented 4 years ago

Hi, I spoke with you on the discord channel about this issue. I'm getting a runtime error in memcpy stemming from bimg::ImageParseDds(). Here is a sample DDS file which has this issue.

test.dds.zip

bkaradzic commented 3 years ago

I still want to investigate this, regardless of workaround/fix you got.

NickWaanders commented 3 years ago

This might be related to the crash I tried to fix in this PR: https://github.com/bkaradzic/bimg/pull/21 ?