Path: utzoo!utgpu!jarvis.csri.toronto.edu!torsqnt!tmsoft!masnet!canremote!jonathan.forbes From: jonathan.forbes@canremote.uucp (JONATHAN FORBES) Newsgroups: comp.lang.c Subject: Re: STRNCPY Message-ID: <89122504120862@masnet.uucp> Date: 22 Dec 89 08:45:00 GMT Organization: Canada Remote Systems Limited, Mississauga, ON, Canada Lines: 5 If the source string is larger than the destination string, and you use strncpy(), then you will be overwriting memory in the destination string! (assuming they both have the same amount of space allocated.) --- * Via ProDoor 3.1R