Great Circle Associates Majordomo-Workers
(March 1999)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Mj::Addr allows spaces
From: Dave Wolfe <dwolfe @ risc . sps . mot . com>
Date: Tue, 9 Mar 1999 09:47:11 -0600
To: Omar Thameen <omar @ clifford . inch . com>, Jason L Tibbitts III <tibbs @ math . uh . edu>, majordomo-workers @ GreatCircle . COM
In-reply-to: <19990309004922.A21821@clifford.inch.com>; from Omar Thameen on Tue, Mar 09, 1999 at 12:49:22AM -0500
References: <19990306130833.A386@clifford.inch.com> <ufaiucemdfi.fsf@epithumia.math.uh.edu> <19990309004922.A21821@clifford.inch.com>

[ Omar Thameen writes: ]
> 
> Occasionally someone accidentally or mischievously subscribes the
> address of the list itself to the list. Even under an "auto" subscribe
> policy, shouldn't this be internally disallowed to avoid loops?

Like Jason said, it's not possible to catch all loops, but Mj 1.94.4
does catch the simple case. In valid_addr() in majordomo.pl:

619      if ( $addr eq $list ) {
620          &main'abort("HOSTILE ADDRESS (tried to subscribe list) $addr");
621          return undef;
622      }

-- 
 Dave Wolfe



References:
Indexed By Date Previous: Re: Mj2 command parser - abbreviations and case insensitivity
From: Dave Wolfe <dwolfe@risc.sps.mot.com>
Next: Re: Mj2 "show" command busted?
From: Jason L Tibbitts III <tibbs@math.uh.edu>
Indexed By Thread Previous: Re: Mj::Addr allows spaces
From: Jason L Tibbitts III <tibbs@math.uh.edu>
Next: Help with testing/installing Majordomo 2
From: Huy Thi Nguyen <hnguyen@rock.careers.csulb.edu>

Google
 
Search Internet Search www.greatcircle.com