Fix safety crash when appending comments
authorH.G. Muller <h.g.muller@hccnet.nl>
Wed, 17 Nov 2010 12:40:20 +0000 (13:40 +0100)
committerArun Persaud <arun@nubati.net>
Thu, 18 Nov 2010 07:06:52 +0000 (23:06 -0800)
commitec8be891e233fca8d33f5452b5bfc97fe0ac7d51
tree321f25caa8235ea1c35e5f903f8fbeac8e7a5b88
parentcf7256e228782b533112473ff6977a72528e793a
Fix safety crash when appending comments

The length limit imposed on safeStrCpy was one too short when copying
an existing comment to the space allocated for the longer (concatenated)
one. It allowed no space for the terminating '\0'.
backend.c