Re: Patch for potential recursion issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Tue, 27 Apr 2010, Toshio Kuratomi wrote:

I'm working on a module that reports which methods can be invoked by a given
overlord (minion-to-minion) in the presence of acls.  To do this, I've been
recreating a bit of what the system list_methods() module does.  I've found
that I can get into an infinite recursion because of how the handlers are
discovered.  I'm attaching a patch that allows me to break this recursive
loop by placing the problematic code into a private method.  Note that it's
just a reordering of the checks that tell if a given method is a valid
public handler.


applied, thx

-sv

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux