Skip to content

Fix crash when the destination stride != source stride

Aleix Pol Gonzalez requested to merge work/dmabuf-weird-origins into master

When we allocate the locally mapped texture size, use the announced stride (aka bytes per line) instead of the texture width. Otherwise we might overflow and crash eventually.

BUG: 438815

Merge request reports