Bug 238581

Summary: careless use of gethostbyname() in Socket.xs
Product: [Fedora] Fedora Reporter: Pavel Kankovsky <peak>
Component: perlAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: medium    
Version: 8CC: jpazdziora, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://rt.perl.org/rt3/Public/Bug/Display.html?id=42844
Whiteboard:
Fixed In Version: perl-5.8.8-38.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-27 07:15:01 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:

Description Pavel Kankovsky 2007-05-01 16:36:07 UTC
Description of problem:
Socket::inet_aton() does not the length of data returned by gethostbyname()
before copying it. See the link to PerlBug for details.

Version-Release number of selected component (if applicable):
5.8.8-4 (other versions are affected as well)

How reproducible:
Easily when you LD_PRELOAD a broken implementation of gethostbyname(). :)

Comment 1 Jan Pazdziora 2008-03-04 08:35:03 UTC
This should be fixed once we move to perl 5.10 -- the fix is already in
upstream's code.

Comment 2 Fedora Update System 2008-03-20 09:14:21 UTC
perl-5.8.8-38.fc8 has been submitted as an update for Fedora 8

Comment 3 Fedora Update System 2008-03-21 22:07:26 UTC
perl-5.8.8-38.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update perl'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-2580

Comment 4 Fedora Update System 2008-03-26 17:12:03 UTC
perl-5.8.8-38.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.