summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-bind-key.c
diff options
context:
space:
mode:
authorray <ray@openbsd.org>2009-06-01 22:57:14 +0000
committerray <ray@openbsd.org>2009-06-01 22:57:14 +0000
commit8c6fe208668137bcd073676b0056ae4721d31d7e (patch)
tree4b40aff9c3c347fc24aa3b33d4116f0e63996573 /usr.bin/tmux/cmd-bind-key.c
parentDo not call the upcall twice on some prefixes. Move the upcall back to (diff)
downloadwireguard-openbsd-8c6fe208668137bcd073676b0056ae4721d31d7e.tar.xz
wireguard-openbsd-8c6fe208668137bcd073676b0056ae4721d31d7e.zip
Fix fgets handling.
1. Skip blank lines instead of dereferencing NULL-1. 2. If bufr is a blank line don't pass bufr+1 as a pointer. OK millert
Diffstat (limited to 'usr.bin/tmux/cmd-bind-key.c')
0 files changed, 0 insertions, 0 deletions