summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-bind-key.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2016-10-12 13:36:39 +0000
committerkrw <krw@openbsd.org>2016-10-12 13:36:39 +0000
commit8d148acd8c17095469f326765c0ea01251b47d97 (patch)
tree5e1aec39c8fdc95ae58036e17d8caabfe1b8b236 /usr.bin/tmux/cmd-bind-key.c
parentRedraw selection in tty_draw_line, so it appears when redrawing whole (diff)
downloadwireguard-openbsd-8d148acd8c17095469f326765c0ea01251b47d97.tar.xz
wireguard-openbsd-8d148acd8c17095469f326765c0ea01251b47d97.zip
client_identifier is not a string so using strlen() on it is
inappropriate. Which is why client_identifier_len exists. Replace copy&pasted strlen() with client_identifier_len. Symptoms (crash) and cause (bad c&p) spotted by sthen@. tested & ok sthen@
Diffstat (limited to 'usr.bin/tmux/cmd-bind-key.c')
0 files changed, 0 insertions, 0 deletions