This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
a long /etc/groups entry could cause memory exhaustion.
authorDave Mitchell <davem@fdisolutions.com>
Tue, 5 Jul 2005 18:17:34 +0000 (18:17 +0000)
committerDave Mitchell <davem@fdisolutions.com>
Tue, 5 Jul 2005 18:17:34 +0000 (18:17 +0000)
commitb8dcbfa5abb61b30000a64f9600fa0363796efca
tree38c7e2a3e94a878b61b6fef09058c16449890601
parent6e38a594fb2312d48815b72c0456fcd281ea8917
a long /etc/groups entry could cause memory exhaustion.
Too small a buffer would cause ERANGE and a retry with double the
buffer size. later at EOF, the apparent error got 'stuck' as
ERANGE rather than ENOENT, so the buffer size doubled recursively

p4raw-id: //depot/perl@25084
reentr.h
reentr.pl