New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getXXXent functions break after recursing to grow buffer #7561
Comments
From mgb@yosemite.netThe getXXXent PERL functions (e.g. getgrent) use getXXXent_r (e.g. If a long line is encountered in /etc/group, the ERANGE return code is Only the return code from getgrent_r should be examined. The value of This bug exists in perl-5.8.3-18 and perl-5.8.5-4 but was not present in See earlier discussion on Bugzilla: |
From @nwc10On Tue, Oct 26, 2004 at 10:10:22PM -0000, mgb @ yosemite. net wrote:
I had some private correspondence with Jarkko Hietaniemi, the original The resizing code replaces a previous compile time fixed buffer, which was If anyone is able and willing to supply a patch to resolve this, please
5.8.0 does have this bug because it had a fixed size maximum buffer, which I'm It's up to the maintainer of Fedora Core 3 what he/she wishes to put in the
This notes that it is 30 seconds work to create a test /etc/group. Nicholas Clark |
The RT System itself - Status changed from 'new' to 'open' |
From @rgsNicholas Clark wrote:
I've tried to reproduce this with perl 5.8.5 and bleadperl (threaded and |
From @TuxOn Tue 02 Nov 2004 16:21, Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> wrote:
lt09mp# grep ^grp /etc/group This is perl, v5.8.5 built for i686-linux-64int Copyright 1987-2004, Larry Wall Perl may be copied only under the terms of either the Artistic License or the Complete documentation for Perl, including FAQ lists, should be found on lt09mp# /usr/bin/perl bug.pl This is perl, v5.8.3 built for i586-linux-thread-multi Copyright 1987-2003, Larry Wall Perl may be copied only under the terms of either the Artistic License or the Complete documentation for Perl, including FAQ lists, should be found on lt09mp# -- |
From @TuxOn Tue 02 Nov 2004 16:55, "H.Merijn Brand" <h.m.brand@hccnet.nl> wrote:
Forgot system info lt09mp# rpm -qa | grep glibc perl-5.8.5-dor-64int is built with gcc-3.4.2 /usr/bin/perl-5.8.3-thread is built with gcc-3.3.3 -- |
From mgb@yosemite.netH. Merijn Brand via RT reports the testcase did not trigger the bug in mgb at yosemite.net |
From @nwc10On Tue, Nov 02, 2004 at 12:24:25PM -0800, Mike Bird wrote:
I'm not certain that it's fixed. Merijn can't reproduce it on SuSE, Nicholas Clark |
From @nwc10On Tue, Nov 02, 2004 at 10:51:57PM +0000, Nicholas Clark wrote:
oops. Should have mailed the list to say that I'd sent this direct. It's not widely know that the files are accessible directly by ftp: ftp://ftp.linux.activestate.com/pub/staff/gsar/APC/perl-5.8.x/ ( ftp://ftp.linux.activestate.com/pub/staff/gsar/APC/perl-current/ etc ) And I'll plug the repository browser while I'm at it: http://public.activestate.com/cgi-bin/perlbrowse Nicholas Clark |
From mgb@yosemite.netOn Tue, 2004-11-02 at 14:56, Nicholas Clark wrote:
Other than comments, there is no difference between reentr.* at the perl-current source is organized differently but the relevant code seems Note that the getXXXent_r functions can be rather complicated, searching |
From @smpeters
This problem has been fixed with change 25084. |
@smpeters - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#32154 (status was 'resolved')
Searchable as RT32154$
The text was updated successfully, but these errors were encountered: