Don't read before the beginning of the log message if it is zero-length
authornicm <nicm@openbsd.org>
Tue, 13 Jul 2010 20:07:24 +0000 (20:07 +0000)
committernicm <nicm@openbsd.org>
Tue, 13 Jul 2010 20:07:24 +0000 (20:07 +0000)
commita4b26cbabb9b1a0932d2a81ad8fe81b1724d70cc
treed84c7e034b3ee829c29cf1aa7f7a0f645db0f029
parent12ef761fa2dc68c96513ed33b7d073cb276d87e7
Don't read before the beginning of the log message if it is zero-length
(possible when it comes from stdin).

Tweaked version of a fix from Peter Hendrickson in PR 6423.

ok deraadt
usr.bin/rcs/rcs.c