Re: [Spice-devel] [PATCH spice] Validate RedDrawable bbox before allocating drawable

2014-10-24 Thread Christophe Fergeau
Hey, On Fri, Oct 24, 2014 at 03:10:29PM +0200, Marc-André Lureau wrote: > Avoid unnecessary allocation (and possibly leaking) if the RedDrawable > doesn't validate_drawable_bbox() > > Related to: rhbz#1135372 > --- > server/red_worker.c | 9 + > 1 file changed, 5 insertions(+), 4 deletio

[Spice-devel] [PATCH spice] Validate RedDrawable bbox before allocating drawable

2014-10-24 Thread Marc-André Lureau
Avoid unnecessary allocation (and possibly leaking) if the RedDrawable doesn't validate_drawable_bbox() Related to: rhbz#1135372 --- server/red_worker.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/server/red_worker.c b/server/red_worker.c index e177b68..d56db35 10