diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2009-06-01 22:57:15 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2009-06-01 22:57:15 +0000 |
commit | ed03ace39d655a13790c49088bc74e6da44e4da4 (patch) | |
tree | 101917ce733e52755a0584f0fcf37f779b043dce /usr.bin/tmux/cmd-list-windows.c | |
parent | 66c29c8aaa9bd842aae524dd24125940522ed538 (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