[PATCH] xkbcomp: Stop possible overflow in yyGetnumber. #31647

Peter Hutterer peter.hutterer at who-t.net
Sun Apr 3 15:37:44 PDT 2011


On Fri, Apr 01, 2011 at 08:09:20AM -0700, Dan Nicholson wrote:
> On Fri, Apr 1, 2011 at 2:42 AM, Alistair Leslie-Hughes
> <leslie_alistair at hotmail.com> wrote:
> >
> > Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=31647
> >
> > Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
> 
> Looks reasonable. That 1024 is screaming for a #define or a const int,
> but it's not the end of the world.

I agree. Alistair, can you please update this to use a define? I'll push it
to the repo then. thanks.

Cheers,
  Peter


More information about the xorg-devel mailing list