[Bug 987118] New: perl-5.18: File handles modified with binmode ':unix' leak
bugzilla at redhat.com
bugzilla at redhat.com
Mon Jul 22 18:10:46 UTC 2013
https://bugzilla.redhat.com/show_bug.cgi?id=987118
Bug ID: 987118
Summary: perl-5.18: File handles modified with binmode ':unix'
leak
Product: Fedora
Version: rawhide
Component: perl
Assignee: mmaslano at redhat.com
Reporter: ppisar at redhat.com
QA Contact: extras-qa at fedoraproject.org
CC: cweyl at alumni.drew.edu, iarnell at gmail.com,
jplesnik at redhat.com, kasal at ucw.cz,
mmaslano at redhat.com,
perl-devel at lists.fedoraproject.org, ppisar at redhat.com,
psabata at redhat.com, rc040203 at freenet.de,
tcallawa at redhat.com
File handle will leak the close() call if has been modified with binmode to
':unix' layer.
[test at fedora-20 tmp]$ cat test
for my $x (1 .. 10000) {
open my $temp, '>', "/tmp/t" or die "$!";
binmode $temp, ":unix";
close $temp;
}
[test at fedora-20 tmp]$ perl ./test
Too many open files at ./test line 2.
Reported to upstream
<https://rt.perl.org:443/rt3/Ticket/Display.html?id=118957>.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=UDC1hZzy1Y&a=cc_unsubscribe
More information about the perl-devel
mailing list