Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 946e0458 authored by Ram Indani's avatar Ram Indani Committed by Android (Google) Code Review
Browse files

Merge "VTS add length is not zero check for executeSetClientTarget" into udc-dev

parents 3972fcdb 708d49cf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -207,7 +207,7 @@ class ComposerCommandEngine : protected CommandReaderBase {

    bool executeSetClientTarget(uint16_t length) {
        // 4 parameters followed by N rectangles
        if ((length - 4) % 4 != 0) {
        if (!length || (length - 4) % 4 != 0) {
            return false;
        }