Bug 640232
Summary: | sendmail applies MAXHOSTNAMELEN for FQDN. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Jaroslav Škarvada <jskarvad> | ||||
Component: | sendmail | Assignee: | Jaroslav Škarvada <jskarvad> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | qe-baseos-daemons | ||||
Severity: | high | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 5.6 | CC: | azelinka, jskarvad, jwest, msvoboda, myamazak, ovasik, rvokal, tsato | ||||
Target Milestone: | rc | Keywords: | ZStream | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | sendmail-8.13.8-9.el5 | 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.
|
Story Points: | --- | ||||
Clone Of: | 485380 | Environment: | |||||
Last Closed: | 2013-09-23 11:04:12 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 485380, 640234 | ||||||
Bug Blocks: | 726094 | ||||||
Attachments: |
|
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. This request was erroneously denied for the current release of Red Hat Enterprise Linux. The error has been fixed and this request has been re-proposed for the current release. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. 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. |
Created attachment 451882 [details] Proposed patch spec file patch