summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-if-shell.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2015-04-24 21:13:56 +0000
committermillert <millert@openbsd.org>2015-04-24 21:13:56 +0000
commit16e2f4834cc940133a3a3b1bc88959b8a2ad9097 (patch)
tree2c60a0e08cc0b3c0464f864b9139077357fc3036 /usr.bin/tmux/cmd-if-shell.c
parentno more tip(1); ok nicm (diff)
downloadwireguard-openbsd-16e2f4834cc940133a3a3b1bc88959b8a2ad9097.tar.xz
wireguard-openbsd-16e2f4834cc940133a3a3b1bc88959b8a2ad9097.zip
Use strtonum() instead of strtoul() when parsing uid/gid so we get
consistent handling of negative ids on 32bit/64bit systems. The only negative uid/gid allowed is -1 which is special-cased so it can be preserved when writing the new master.passwd file instead of being written as an unsigned number. OK deraadt@
Diffstat (limited to 'usr.bin/tmux/cmd-if-shell.c')
0 files changed, 0 insertions, 0 deletions