Bug 84999 - [patch] bug in the uulib-0.5.20
Summary: [patch] bug in the uulib-0.5.20
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: hoek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-16 17:40 UTC by Alexey Khlyamkov
Modified: 2006-01-04 12:03 UTC (History)
0 users

See Also:


Attachments
patch-ae (609 bytes, text/plain)
2005-08-16 17:40 UTC, Alexey Khlyamkov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Khlyamkov 2005-08-16 17:40:11 UTC
	uudeview's author makes 1023 chars as maximum header line length
	(see line 167 of uulib/uuscan.c).
	Handling this limit in the ScanHeaderLine function may skip all
	header lines after very long splitted line because of finding CR
	in the truncated string (at ptr) instead of scan source stream
	(uugen_inbuffer).

Fix: Patch attached can be used in the ports project (patch prepared
	to placing it to the ports/converters/uulib/files/ directory)
How-To-Repeat: 	Almost any e-mail message can be used which contains very long
	(longer than 1023) header field (e.g. "To:" with many recipients)
	before fields sensitive for parsing message by uulib.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2005-08-17 07:25:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->hoek

Over to maintainer.
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2006-01-04 12:03:37 UTC
State Changed
From-To: open->closed

Committed, thanks!