Re: [PATCH] wayland-client: Require base 10 for WAYLAND_SOCKET, explicitly

2016-11-21 Thread Daniel Stone
Hi, On 9 July 2016 at 02:36, Yong Bakos wrote: > On Jul 8, 2016, at 4:42 PM, Bryce Harrington wrote: >> The third arg to strtol() specifies the base to assume for the number. >> When 0 is passed, as is currently done in wayland-client.c, hexadecimal >> and octal numbers are permitted and automat

Re: [PATCH] wayland-client: Require base 10 for WAYLAND_SOCKET, explicitly

2016-07-08 Thread Bryce Harrington
On Fri, Jul 08, 2016 at 06:36:19PM -0700, Yong Bakos wrote: > On Jul 8, 2016, at 4:42 PM, Bryce Harrington wrote: > > > > The third arg to strtol() specifies the base to assume for the number. > > When 0 is passed, as is currently done in wayland-client.c, hexadecimal > > and octal numbers are pe

Re: [PATCH] wayland-client: Require base 10 for WAYLAND_SOCKET, explicitly

2016-07-08 Thread Yong Bakos
On Jul 8, 2016, at 4:42 PM, Bryce Harrington wrote: > > The third arg to strtol() specifies the base to assume for the number. > When 0 is passed, as is currently done in wayland-client.c, hexadecimal > and octal numbers are permitted and automatically detected and > converted. > > I can find no

[PATCH] wayland-client: Require base 10 for WAYLAND_SOCKET, explicitly

2016-07-08 Thread Bryce Harrington
The third arg to strtol() specifies the base to assume for the number. When 0 is passed, as is currently done in wayland-client.c, hexadecimal and octal numbers are permitted and automatically detected and converted. I can find no indication that we would ever expect use of hexadecimal or octal fo