Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 1995 08:50:02 -0700
From:      Edward Wang <edward@edcom.com>
To:        freebsd-bugs
Subject:   bin/351: long mail messages overflow line-count field
Message-ID:  <199504191550.IAA22529@freefall.cdrom.com>
In-Reply-To: Your message of Wed, 19 Apr 1995 08:43:25 -0700 <199504191543.IAA00600@edcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>Number:         351
>Category:       bin
>Synopsis:       long mail messages overflow line-count field
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 19 08:50:01 1995
>Originator:     & Wang
>Organization:
>Release:        FreeBSD 2.1.0-Development i386
>Environment:

	950322-SNAP

>Description:

	The line-count field in mail (m_lines field in struct message,
	/usr/src/usr.bin/mail/defs.h), is a short, which overflows
	not infrequently these days.

>How-To-Repeat:

	jot 32768 | mail `whoami`
	mail
	h
	shows
	>  30 edward                Wed Apr 19 08:40 -32761/185775

>Fix:
	
	I fixed it in 4.4 Lite, though somewhat late, which probably
	explains why it's not in FreeBSD 2.0.
	The fixed source is available on vangogh.CS.Berkeley.EDU.

>Audit-Trail:
>Unformatted:





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504191550.IAA22529>