mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-02 08:42:48 +00:00
Block for buffer overflow.
This commit is contained in:
parent
27773683d1
commit
d284feaa7b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41734
@ -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? */
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user