Protect against overrun of input buffer master
authorH.G.Muller <hgm@hgm-xboard.(none)>
Tue, 18 Jun 2019 11:40:49 +0000 (13:40 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Tue, 18 Jun 2019 11:47:29 +0000 (13:47 +0200)
commitc539c4f3ab34bb37522b9f9641eb0375206b935b
tree701b805dedcd1fb3d09bcbae3f80c6f33ddafcf4
parent4894199344ba7ded95261fd1cdd569210b079d20
Protect against overrun of input buffer

The routine ReadLine() now has an extra argument to indicate the
maximum length of the string. All characters that exceed the size
will overwrite each other in the last position before the terminiating
null character, so that the linefeed will be kept.
UCI2WB.c