diff options
author | Eivind Eklund <eivind@FreeBSD.org> | 1998-12-13 21:02:28 +0000 |
---|---|---|
committer | Eivind Eklund <eivind@FreeBSD.org> | 1998-12-13 21:02:28 +0000 |
commit | d284feaa7b8d9e790d7b46d3892e5e7ac9edf4be (patch) | |
tree | a45f2bbc01dbd5d26068348c673a997a8fd5929c /libexec | |
parent | 27773683d152270b168de2faa5c38a7bf85b4cd2 (diff) | |
download | src-d284feaa7b8d9e790d7b46d3892e5e7ac9edf4be.tar.gz src-d284feaa7b8d9e790d7b46d3892e5e7ac9edf4be.zip |
Notes
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/bootpd/bootpd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/bootpd/bootpd.c b/libexec/bootpd/bootpd.c index 99d035146f80..6d6a74fed6c6 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.8 1998/06/03 20:01:28 joerg Exp $ + $Id: bootpd.c,v 1.9 1998/12/12 20:56:53 dillon Exp $ ************************************************************************/ @@ -635,6 +635,8 @@ handle_request() char *homedir, *bootfile; int n; + bp->bp_file[sizeof(bp->bp_file)-1] = '\0'; + /* XXX - SLIP init: Set bp_ciaddr = recv_addr here? */ /* |