Bug 351 - long mail messages overflow line-count field
Summary: long mail messages overflow line-count field
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1995-04-19 08:50 UTC by edward
Modified: 1995-04-19 08:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description edward 1995-04-19 08:50:01 UTC
	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.

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.
How-To-Repeat: 
	jot 32768 | mail `whoami`
	mail
	h
	shows
	>  30 edward                Wed Apr 19 08:40 -32761/185775
Comment 1 Andrey A. Chernov freebsd_committer freebsd_triage 1995-05-09 17:56:36 UTC
State Changed
From-To: open->closed

Fixed in v1.2 def.h