On 28 May 2013, at 11:13, Wolfgang Lux <[email protected]> wrote:

> stpcpy and strcpy are dangerous because these functions might overrun the 
> buffer you are writing to. It is strpncpy and strncpy, which may fail to 
> write a '\0' to the end of the string.

Ah, sorry.  I read the stpncpy() part of the stpcpy() man page (I've never used 
either of these functions).

David

-- Sent from my Apple II


_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to