summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-list-windows.c
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2009-06-01 22:57:15 +0000
committerRay Lai <ray@cvs.openbsd.org>2009-06-01 22:57:15 +0000
commited03ace39d655a13790c49088bc74e6da44e4da4 (patch)
tree101917ce733e52755a0584f0fcf37f779b043dce /usr.bin/tmux/cmd-list-windows.c
parent66c29c8aaa9bd842aae524dd24125940522ed538 (diff)
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-list-windows.c')
0 files changed, 0 insertions, 0 deletions