From nobody  Mon Sep  8 23:44:46 1997
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.7/8.8.7) id XAA09181;
          Mon, 8 Sep 1997 23:44:46 -0700 (PDT)
Message-Id: <199709090644.XAA09181@hub.freebsd.org>
Date: Mon, 8 Sep 1997 23:44:46 -0700 (PDT)
From: Lars.Koeller@Uni-Bielefeld.DE
To: freebsd-gnats-submit@freebsd.org
Subject: Wrong variable type in tftp.h include file
X-Send-Pr-Version: www-1.0

>Number:         4502
>Category:       bin
>Synopsis:       Wrong variable type in tftp.h include file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep  8 23:50:01 PDT 1997
>Closed-Date:    Sun Oct 19 18:44:45 MEST 1997
>Last-Modified:  Sun Oct 19 18:49:20 MEST 1997
>Originator:     Lars Koeller
>Release:        FreeBSD-2.2.2
>Organization:
University of Bielefeld
>Environment:
All version are touched
>Description:
The variable type of 'tu_block' in '/usr/include/arpa/tftp.h' in the 
struct 'tftphdr' is of type short, but should by of type 
'unsigned short' cause a short limits the total block size to 16MB and
in the tftp specification 32MB are mentioned if I remember right.

(This Problem was found by Dirk Nehring)
>How-To-Repeat:

>Fix:
Change 'short tu_block' in /usr/include/arpa/tftp.h to 'unsigned shor' 
or a similar defined type!
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sun Oct 19 18:44:45 MEST 1997 
State-Changed-Why:  

Fixed in rev 1.3 of tftp.h, thanks! 
>Unformatted:
