am fe40e9e0: Merge "fix [3148312] Region can access data out of bounds" into gingerbread
* commit 'fe40e9e0ce7b5536be9f9ff0596714a0eb921b1e': fix [3148312] Region can access data out of bounds
This commit is contained in:
@@ -289,7 +289,7 @@ private:
|
|||||||
void flushSpan() {
|
void flushSpan() {
|
||||||
bool merge = false;
|
bool merge = false;
|
||||||
if (tail-head == ssize_t(span.size())) {
|
if (tail-head == ssize_t(span.size())) {
|
||||||
Rect const* p = cur;
|
Rect const* p = span.editArray();
|
||||||
Rect const* q = head;
|
Rect const* q = head;
|
||||||
if (p->top == q->bottom) {
|
if (p->top == q->bottom) {
|
||||||
merge = true;
|
merge = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user