[PATCH] xhost: check return value of X{Add,Remove}Host

Julien Cristau jcristau at debian.org
Tue Jul 19 12:10:11 PDT 2011


On Sun, Jul 10, 2011 at 21:50:36 -0700, Alan Coopersmith wrote:

> On 07/ 9/11 01:05 PM, Kees Cook wrote:
> > In the ServerInterpreted case, XAddHost and XRemoveHost are capable of
> > failing when they lack request buffer memory. Notice this situation,
> > and report correctly.
> > 
> > Signed-off-by: Kees Cook <kees.cook at canonical.com>
> > ---
> >  xhost.c |   11 +++++++----
> >  1 files changed, 7 insertions(+), 4 deletions(-)
> > 
[...]
> 
> Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> 
Pushed.

Cheers,
Julien


More information about the xorg-devel mailing list