> [michielblotwijk - Fri Sep 02 06:53:56 2005]:
> 
> This is a bug report for perl from [EMAIL PROTECTED],
> generated with the help of perlbug 1.35 running under perl v5.8.5.
> 
> 
> -----------------------------------------------------------------
> [Please enter your report here]
> 
> The function getgrent throws an error if a line in /etc/groups gets
> too long (> 3000 characters). This error can be reproduced as follows:
> 
> 1/ Manually add a large number of users to a group in /etc/group. It
>    doesn't
> really matter if these are real users or not, as long as the line
>    exceeds
> 3000 characters.
> 
> 2/ perl -e 'use User::grent; while (my $gr = getgrent() ) { print
> $gr->name."\n"; }'
> 
> This will return an "Out of memory!" message.
> 
> This thread seems to be related:
> http://lists.debian.org/debian-security/2005/06/msg00041.html
> 

The issue mentioned on the Debian lists is indeed the problem.  The fix
suggested was implemented in change #25084.  

Reply via email to