Fix crash in auto-comment
authorH.G. Muller <h.g.muller@hccnet.nl>
Tue, 3 Jan 2012 10:29:00 +0000 (11:29 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Tue, 3 Jan 2012 20:37:56 +0000 (21:37 +0100)
commitc245d8f55ee094707771e5225dd91564ded4630c
tree34b6742dba83a74dd508a6a5ae2da08d2b1cdd40
parenta6cb149215f419331165e3f8e484bcc492e7b9b1
Fix crash in auto-comment

Trailing linefeeds in AppendComment were not properly stripped off,
leading to a mismatch between the allocted and used memory, and thus
possible buffer overruns.
backend.c