discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with inline functions in gsweb and clang


From: David Chisnall
Subject: Re: problem with inline functions in gsweb and clang
Date: Tue, 28 May 2013 11:16:03 +0100

On 28 May 2013, at 11:13, Wolfgang Lux <wolfgang.lux@gmail.com> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]