[INN-COMMITTERS] inn (32 files)

Russ Allbery Russ_Allbery at isc.org
Sun Jan 19 04:13:53 UTC 2003


    Date: Saturday, January 18, 2003 @ 20:13:51
  Author: rra
    Path: /dist1/cvs/isc/inn/inn

Modified: authprogs/radius.c authprogs/smbval/smbencrypt.c
          backends/archive.c contrib/auth_pass.c contrib/pullart.c
          expire/fastrm.c expire/makehistory.c frontends/inews.c
          frontends/rnews.c innd/art.c innd/keywords.c innd/perl.c
          innd/python.c innd/rc.c innd/util.c innfeed/buffer.c
          innfeed/misc.c lib/clientlib.c lib/getfqdn.c nnrpd/commands.c
          nnrpd/group.c nnrpd/misc.c nnrpd/nnrpd.c nnrpd/perl.c
          nnrpd/perm.c nnrpd/post.c storage/buffindexed/buffindexed.c
          storage/cnfs/cnfs.c storage/expire.c storage/ovdb/ovdb.c
          storage/timecaf/caf.c storage/tradspool/tradspool.c

Replace many uses of strncpy with strlcpy instead.  Replace some of them
after xmalloc with calls to xstrndup.  Replace all calls to strncat with
strlcat.  The remaining calls to strncpy in the INN source tree all appear
to be relying on the semantics of strncpy (some, for example, don't want
nul-termination).


-----------------------------------+
 authprogs/radius.c                |    6 ++--
 authprogs/smbval/smbencrypt.c     |   19 --------------
 backends/archive.c                |   14 ++--------
 contrib/auth_pass.c               |   10 +++----
 contrib/pullart.c                 |    5 +--
 expire/fastrm.c                   |   23 ++++++------------
 expire/makehistory.c              |    7 +++--
 frontends/inews.c                 |   32 ++++++++-----------------
 frontends/rnews.c                 |    8 ++----
 innd/art.c                        |    5 +--
 innd/keywords.c                   |    9 +++----
 innd/perl.c                       |   14 +++-------
 innd/python.c                     |    6 ++--
 innd/rc.c                         |   13 +++-------
 innd/util.c                       |   22 ++++++++---------
 innfeed/buffer.c                  |    5 +--
 innfeed/misc.c                    |    9 ++-----
 lib/clientlib.c                   |    8 ++----
 lib/getfqdn.c                     |    7 ++---
 nnrpd/commands.c                  |   30 +++++++----------------
 nnrpd/group.c                     |    5 +--
 nnrpd/misc.c                      |    4 +--
 nnrpd/nnrpd.c                     |   30 ++++++++---------------
 nnrpd/perl.c                      |    8 ++----
 nnrpd/perm.c                      |   14 +++-------
 nnrpd/post.c                      |   46 ++++++++++++++----------------------
 storage/buffindexed/buffindexed.c |   26 +++++++-------------
 storage/cnfs/cnfs.c               |   29 +++++++---------------
 storage/expire.c                  |    5 +--
 storage/ovdb/ovdb.c               |    3 --
 storage/timecaf/caf.c             |    4 +--
 storage/tradspool/tradspool.c     |   19 ++++++--------
 32 files changed, 164 insertions(+), 281 deletions(-)


More information about the inn-committers mailing list