Project

General

Profile

Actions

Bug #4026

closed

If 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

Added by beat almost 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
15 May 2013
Due date:
% Done:

100%

Estimated time:
3:00 h

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.

Actions #1

Updated by krileon almost 11 years ago

  • Assignee set to krileon
Actions #2

Updated by krileon almost 11 years ago

  • Status changed from New to Assigned
Actions #3

Updated by beat almost 11 years ago

The fix is that recursion should be stopped for already seen ids.

Actions #4

Updated by krileon over 10 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by beat over 9 years ago

  • Priority changed from High to Normal
Actions #6

Updated by beat over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF