DragonFly BSD
DragonFly commits List (threaded) for 2004-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/share/man/man9

From: Munish Chopra <chopra@xxxxxxxxxxx>
Date: Sat, 4 Sep 2004 17:59:35 -0400

On Sat, Sep 04, 2004 at 11:37:10PM +0200, Douwe Kiela wrote:
> From: "Matthew Dillon" <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
> >   Modified files:
> >     share/man/man9       style.9
> >   Log:
> >   Minor style cleanups.  Start a list of obsolete functions that should no
> >   longer be used, and add a warning about the use of unbounded string
> functions.
> Hey, it wouldn't be a bad idea to also mention that strlcpy should sometimes
> be used over strncpy, would it? OpenBSD created the function because
> strncpy's security is insufficient in some cases, so I guess it wouldn't be


They also took care of some performance concerns unless I'm
mistaken. It's in one of the papers on the strl* stuff, though I can't
remember which one off the top of my head.

Munish Chopra

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