Actions
Bug #4026
closedIf Joomla ACL group Manager is not child of Public we get a Fatal error: Allowed memory size of XXXX bytes exhausted (tried to allocate 523800 bytes) in administrator/components/com_comprofiler/library/cb/cb.acl.php on line 498
Description
Fatal error: Allowed memory size of XXXX bytes exhausted (tried to allocate 523800 bytes) in administrator/components/com_comprofiler/library/cb/cb.acl.php on line 498
This is because on that line, assumption is made that Manager (as gid 6) is child of Public, and that no further recursion would happen, as the function calls itsself. That is not the case if Manager is NOT child of Public but e.g. of Registered.
(Obviously 2 lines below the same bug is there).
+ the hardcoded gid 6 there is a bug too.
Updated by beat over 11 years ago
The fix is that recursion should be stopped for already seen ids.
Updated by krileon over 11 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Actions