[INN-COMMITTERS] inn/innd (16 files)

Russ Allbery Russ_Allbery at isc.org
Sun Aug 11 20:12:50 UTC 2002


    Date: Sunday, August 11, 2002 @ 13:12:49
  Author: rra
    Path: /dist1/cvs/isc/inn/inn/innd

Modified: art.c cc.c chan.c icd.c innd.c innd.h inndstart.c nc.c
          newsfeeds.c perl.c python.c rc.c site.c status.c tcl.c util.c

Prefer snprintf to sprintf when the buffer size is available.  Pretty much
all of these calls could not have caused problems because they were
protected by MaxLength, but prefer snprintf anyway because it makes it
easier to audit and provides defense in depth.  Based on work by Bear
Giles.

Clean up the remaining warnings that are easy to resolve.


-------------+
 art.c       |  175 +++++++++++++++++++++++++++++++++-------------------------
 cc.c        |   18 ++---
 chan.c      |   39 ++++++------
 icd.c       |    4 -
 innd.c      |   14 +---
 innd.h      |    4 -
 inndstart.c |   14 ++--
 nc.c        |   66 ++++++++++++---------
 newsfeeds.c |    5 -
 perl.c      |    4 -
 python.c    |    4 -
 rc.c        |   18 +++--
 site.c      |   12 +--
 status.c    |   11 +--
 tcl.c       |   10 +--
 util.c      |   13 ++--
 16 files changed, 227 insertions(+), 184 deletions(-)


More information about the inn-committers mailing list