Re: [PATCH] cliptest: Avoid use of uninitialized memory when regions don't intersect

2014-08-19 Thread Pekka Paalanen
On Mon, 18 Aug 2014 16:13:41 -0500 Derek Foreman wrote: > Prevent attempting to draw the intersection polygon when it contains no > vertices. > > Signed-off-by: Derek Foreman > --- > clients/cliptest.c | 12 +++- > 1 file changed, 7 insertions(+), 5 deletions(-) > > diff --git a/clien

[PATCH] cliptest: Avoid use of uninitialized memory when regions don't intersect

2014-08-18 Thread Derek Foreman
Prevent attempting to draw the intersection polygon when it contains no vertices. Signed-off-by: Derek Foreman --- clients/cliptest.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/clients/cliptest.c b/clients/cliptest.c index a1928f4..dd0ea5c 100644 --- a/clien