Skip to content
Commit 3ef8bd46 authored by Halla Rempt's avatar Halla Rempt
Browse files

Check whether there is enough data before writing to the paint device

The script in bug 419111 created a byte array that was w * h, instead
of w * h * pixelsize, so that caused a crash, but Node::setPixelData
should check whether there is enough data before starting to write.

BUG:419111
parent 6db92d4a
Loading
Loading
Loading
Pipeline #109782 skipped with stage
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment