Skip Menu |

This queue is for tickets about the Mail-ExpandAliases CPAN distribution.

Report information
The Basics
Id: 27018
Status: new
Priority: 0/
Queue: Mail-ExpandAliases

People
Owner: Nobody in particular
Requestors: steven.kurylo [...] aviawest.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: $ma->expand loops until out of memory
Date: Tue, 08 May 2007 15:15:06 -0700
To: bug-Mail-ExpandAliases [...] rt.cpan.org
From: Steven Kurylo <steven.kurylo [...] aviawest.com>
Mail-ExpandAliases-0.44 This is perl, v5.8.8 built for i486-linux-gnu-thread-multi Linux ubuntu 2.6.17-10-generic #2 SMP Code to reproduce: #!/usr/bin/perl -w use strict; use Mail::ExpandAliases; my $ma = Mail::ExpandAliases->new("aliases"); my @list = $ma->expand("foo"); Contents of "aliases": bar: bar foo: bar If I run the code: $ perl test.pl Deep recursion on subroutine "Mail::ExpandAliases::expand" at /usr/share/perl5/Mail/ExpandAliases.pm line 235. It will then continue until memory is exhausted. If my aliases file looked like: bar: \bar foo: bar Then it wouldn't be a problem. Let me know if you need any more information. Thank you.