Bug 726094 - sendmail applies MAXHOSTNAMELEN for FQDN.
Summary: sendmail applies MAXHOSTNAMELEN for FQDN.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: sendmail
Version: 5.6
Hardware: All
OS: Linux
urgent
high
Target Milestone: rc
: ---
Assignee: Jaroslav Škarvada
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On: 640232
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-27 14:14 UTC by RHEL Program Management
Modified: 2018-11-14 12:09 UTC (History)
9 users (show)

Fixed In Version: sendmail-8.13.8-8.1.el5_7
Doc Type: Bug Fix
Doc Text:
Sendmail previously used the MAXHOSTNAMELEN macro to allocate buffers containing host names and Fully Qualified Domain Names (FQDNs). The value of the MAXHOSTNAMELEN macro is set to 64 on Red Hat Enterprise Linux systems, which means that such allocated buffer can hold at most 63 characters, but according to the RFC1035, the FQDN maximal length is defined to 255 characters. This caused problems with a FQDN resolution in case that FQDN was longer then 63 characters. With this update, the code has been modified so that the size of buffers containing FQDN is now set to 256 bytes. The issues with the FQDN resolution now no longer occurs.
Clone Of:
Environment:
Last Closed: 2011-08-08 08:08:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1127 0 normal SHIPPED_LIVE sendmail bug fix update 2011-08-08 08:08:06 UTC

Description RHEL Program Management 2011-07-27 14:14:53 UTC
This bug has been copied from bug #640232 and has been proposed
to be backported to 5.7 z-stream (EUS).

Comment 6 Miroslav Svoboda 2011-08-01 13:19:12 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Sendmail previously used the MAXHOSTNAMELEN macro to allocate buffers containing host names and Fully Qualified Domain Names (FQDNs). The value of the MAXHOSTNAMELEN macro is set to 64 on Red Hat Enterprise Linux systems, which means that such allocated buffer can hold at most 63 characters, but according to the RFC1035, the FQDN maximal length is defined to 255 characters. This caused problems with a FQDN resolution in case that FQDN was longer then 63 characters. With this update, the code has been modified so that the size of buffers containing FQDN is now set to 256 bytes. The issues with the FQDN resolution now no longer occurs.

Comment 8 errata-xmlrpc 2011-08-08 08:08:10 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1127.html


Note You need to log in before you can comment on or make changes to this bug.