loader: Fix an infinite loop when printing modules using "module show".
authorJoshua Colp <jcolp@digium.com>
Fri, 25 Jul 2014 18:09:40 +0000 (18:09 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 25 Jul 2014 18:09:40 +0000 (18:09 +0000)
When creating the alphabetical sorted list each module is added to a list
temporarily. On the second iteration each module already has a pointer to
another module, causing stuff to go into a loop.

ASTERISK-24123 #close
Reported by: Malcolm Davenport

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@419612 65c4cc65-6c06-0410-ace0-fbb531ad65f3


No differences found