Skip to content
Commit 68d4ec3e 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
(cherry picked from commit 3ef8bd46)
parent 06b81b34
Loading
Loading
Loading
Pipeline #109783 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