aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data/small-code-core.c
diff options
context:
space:
mode:
authorBryce Harrington <bryce@osg.samsung.com>2016-07-08 16:42:30 -0700
committerDaniel Stone <daniels@collabora.com>2016-11-21 11:35:15 +0000
commita2cbdefc92ad012435e7e2d63ecb93243b445fc0 (patch)
tree07d6cd5eae46f84e2dc97d3954aa8452246fdcbf /tests/data/small-code-core.c
parentutil: Document wl_log_func_t (diff)
downloadwayland-a2cbdefc92ad012435e7e2d63ecb93243b445fc0.tar
wayland-a2cbdefc92ad012435e7e2d63ecb93243b445fc0.tar.gz
wayland-a2cbdefc92ad012435e7e2d63ecb93243b445fc0.tar.bz2
wayland-a2cbdefc92ad012435e7e2d63ecb93243b445fc0.tar.lz
wayland-a2cbdefc92ad012435e7e2d63ecb93243b445fc0.tar.xz
wayland-a2cbdefc92ad012435e7e2d63ecb93243b445fc0.tar.zst
wayland-a2cbdefc92ad012435e7e2d63ecb93243b445fc0.zip
wayland-client: Require base 10 for WAYLAND_SOCKET, explicitly
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 for socket fd's. So be explicit about what base we're assuming here and avoid any potential surprises. Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Yong Bakos <ybakos@humanoriented.com> Reviewed-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'tests/data/small-code-core.c')
0 files changed, 0 insertions, 0 deletions