Date: Mon, 8 Sep 1997 23:44:46 -0700 (PDT) From: Lars.Koeller@Uni-Bielefeld.DE To: freebsd-gnats-submit@FreeBSD.ORG Subject: bin/4502: Wrong variable type in tftp.h include file Message-ID: <199709090644.XAA09181@hub.freebsd.org> Resent-Message-ID: <199709090650.XAA10501@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709090644.XAA09181>