diff options
author | Matthew Dillon <dillon@FreeBSD.org> | 1998-12-12 20:56:53 +0000 |
---|---|---|
committer | Matthew Dillon <dillon@FreeBSD.org> | 1998-12-12 20:56:53 +0000 |
commit | 3a3c0cf418ef6b926dfb41cc69a49b58078899bb (patch) | |
tree | 5498b6926ff1330cedee67630f1fc1399cb56b1d /libexec | |
parent | 25b30a3ebb5cc0571b9d5f260a641ef0e5e6e8c5 (diff) | |
download | src-test2-3a3c0cf418ef6b926dfb41cc69a49b58078899bb.tar.gz src-test2-3a3c0cf418ef6b926dfb41cc69a49b58078899bb.zip |
Notes
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/bootpd/bootpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/bootpd/bootpd.c b/libexec/bootpd/bootpd.c index 68e35d50223a..99d035146f80 100644 --- a/libexec/bootpd/bootpd.c +++ b/libexec/bootpd/bootpd.c @@ -19,7 +19,7 @@ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - $Id: bootpd.c,v 1.7 1997/05/11 14:27:03 phk Exp $ + $Id: bootpd.c,v 1.8 1998/06/03 20:01:28 joerg Exp $ ************************************************************************/ @@ -833,7 +833,7 @@ HW addr type is IEEE 802. convert to %s and check again\n", * daemon chroot directory (i.e. /tftpboot). */ if (hp->flags.tftpdir) { - strcpy(realpath, hp->tftpdir->string); + snprintf(realpath, sizeof(realpath), "%s", hp->tftpdir->string); clntpath = &realpath[strlen(realpath)]; } else { realpath[0] = '\0'; |