From owner-cvs-usrbin Thu Jul 11 21:00:23 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA27171 for cvs-usrbin-outgoing; Thu, 11 Jul 1996 21:00:23 -0700 (PDT) Received: (from nate@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA27157; Thu, 11 Jul 1996 21:00:17 -0700 (PDT) Date: Thu, 11 Jul 1996 21:00:17 -0700 (PDT) From: Nate Williams Message-Id: <199607120400.VAA27157@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/rdist defs.h docmd.c expand.c lookup.c server.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk nate 96/07/11 21:00:17 Modified: usr.bin/rdist defs.h docmd.c expand.c lookup.c server.c Log: Changed all sprintf() calls to snprintf(). Obtained from: Christos Zoulas via NetBSD PR 2621, [ slightly modified since we don't use libcompat anymore. ] I'm not sure if this fixes the rdist security bug completely, but it sure can't hurt! Revision Changes Path 1.2 +1 -1 src/usr.bin/rdist/defs.h 1.4 +4 -3 src/usr.bin/rdist/docmd.c 1.2 +3 -2 src/usr.bin/rdist/expand.c 1.2 +3 -2 src/usr.bin/rdist/lookup.c 1.3 +41 -31 src/usr.bin/rdist/server.c