From owner-freebsd-bugs Mon Sep 8 23:50:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA10514 for bugs-outgoing; Mon, 8 Sep 1997 23:50:08 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA10501; Mon, 8 Sep 1997 23:50:03 -0700 (PDT) Resent-Date: Mon, 8 Sep 1997 23:50:03 -0700 (PDT) Resent-Message-Id: <199709090650.XAA10501@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, Lars.Koeller@Uni-Bielefeld.DE 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 X-Send-Pr-Version: www-1.0 Subject: bin/4502: Wrong variable type in tftp.h include file Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 4502 >Category: bin >Synopsis: Wrong variable type in tftp.h include file >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 8 23:50:01 PDT 1997 >Last-Modified: >Originator: Lars Koeller >Organization: University of Bielefeld >Release: FreeBSD-2.2.2 >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! >Audit-Trail: >Unformatted: