diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2006-10-31 18:06:28 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2006-10-31 18:06:28 +0000 |
commit | d140c75c0152ba90454d4d8995dbd8ca306bf64f (patch) | |
tree | 2b8933faacf6ac9166d08555d17e02626c66e3ca /usr.bin/calendar | |
parent | dcf6a48a9260f8b700d4ca5add2c7d561274f88b (diff) |
Don't blindly truncate buf[strlen(buf) - 1] without checking for
newline.
Initial patch from Charles Longeau <chl at tuxfamily dot org>, fix
inspired by comment by Anonymous Coward on undeadly.
OK moritz@, ian@.
Diffstat (limited to 'usr.bin/calendar')
0 files changed, 0 insertions, 0 deletions