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

Commit 0cc0399b authored by Mathias Agopian's avatar Mathias Agopian
Browse files

fix [3148312] Region can access data out of bounds

Change-Id: Ic46f31d40943f405e37da21a50b55edd5a2c4124
parent 067ed474
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -289,7 +289,7 @@ private:
    void flushSpan() {
        bool merge = false;
        if (tail-head == ssize_t(span.size())) {
            Rect const* p = cur;
            Rect const* p = span.editArray();
            Rect const* q = head;
            if (p->top == q->bottom) {
                merge = true;