Re: OT: Largest subject. (Was: Re: CDR]# cdrecord -v speed=16 dev=1,5,0-data ioware-w32-x86-402.exe.isoCdrecord 2.0 (i686-pc-linux-gnu) Copyright(C) 1995-2002 J***rg SchillingTOC Type: 1 = CD-ROMscsidev: '1,5,0'scsibus:1 target: 5 lun: 0cdrecord: No su

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Javier Gostling wrote:

On Thu, Jul 24, 2003 at 05:47:46PM +0100, John Haxby wrote:


There's a limit of 998 bytes per line in RFC2822, but subjects can be folded over several lines. RFC2822 doesn't specify a limit and I don't think it needs to ...



Which leads me to wonder how different MTAs handle the issue. Anyone
else see room for a buffer overflow here?



Given badly written software, yes, plenty of scope :-) However, things like sendmail can safely deal with long subjects a line at a time (the subject is copied directly to a queue file as it arrives) which helps a lot. UAs and whatnot are helped by knowing that they'll never have a very long line and can be written bearing that in mind.


RFC2821 and RFC2821 address buffer overrun issues in the protocol description which, provided that implementors actually read the standards, will help a lot.

jch


-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux