diff options
author | 2009-06-01 22:57:14 +0000 | |
---|---|---|
committer | 2009-06-01 22:57:14 +0000 | |
commit | 8c6fe208668137bcd073676b0056ae4721d31d7e (patch) | |
tree | 4b40aff9c3c347fc24aa3b33d4116f0e63996573 /usr.bin/tmux/cmd-paste-buffer.c | |
parent | Do not call the upcall twice on some prefixes. Move the upcall back to (diff) | |
download | wireguard-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-paste-buffer.c')
0 files changed, 0 insertions, 0 deletions