summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/client.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2009-10-21 19:56:46 +0000
committermiod <miod@openbsd.org>2009-10-21 19:56:46 +0000
commit87cb402dc98da6cfba6382dd2ae01c402407cee7 (patch)
treed2f63b6e8d2f53d0b9d08e23bbcaaefb7ae23fd6 /usr.bin/tmux/client.c
parentUnused variable. (diff)
downloadwireguard-openbsd-87cb402dc98da6cfba6382dd2ae01c402407cee7.tar.xz
wireguard-openbsd-87cb402dc98da6cfba6382dd2ae01c402407cee7.zip
In atoi(), only check for a base indication iff the string starts with `0'
and no base has been enforced. Otherwise the leading number of the mec(4) 08:00:69:xx:yy:zz Ethernet address would be interpreted as octal base, followed by an out-of-range `8' which is now rejected but incorrectly skipped; noticed by maja@
Diffstat (limited to 'usr.bin/tmux/client.c')
0 files changed, 0 insertions, 0 deletions