summaryrefslogtreecommitdiff
path: root/usr.bin/calendar
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2006-10-31 18:06:28 +0000
committerRay Lai <ray@cvs.openbsd.org>2006-10-31 18:06:28 +0000
commitd140c75c0152ba90454d4d8995dbd8ca306bf64f (patch)
tree2b8933faacf6ac9166d08555d17e02626c66e3ca /usr.bin/calendar
parentdcf6a48a9260f8b700d4ca5add2c7d561274f88b (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