Make safeStrCpy safe
authorH.G. Muller <h.g.muller@hccnet.nl>
Fri, 12 Nov 2010 12:56:33 +0000 (13:56 +0100)
committerArun Persaud <arun@nubati.net>
Sun, 14 Nov 2010 05:07:23 +0000 (21:07 -0800)
commit41ae77e8698b5b851b09681ce9b7120ccb605eb6
treeb27ec618ac594eda1c85807e91cacd560787f4db
parent37c976246d65ccb8ed013af03dac284b4a431cff
Make safeStrCpy safe

SafeStrCpy was causing a lot of out-of-bound write accesses, as it was
always writing the character at the length limit of the destination.
Now no memory is accessed that is is not needed to hold the copy.
backend.c