Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-16876

Memory exhaustion in topic, forum, and overall feeds due to loading all attachments for all posts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 3.2.10, 3.3.4
    • Other
    • None

      Similar to PHPBB3-14838, calls to phpbb\feed\attachments_base::fetch_attachments that try to load the attachments from a forum, topic, or list of topics are not properly bounded. If a topic has a large number of attachments, it can lead to memory exhaustion. The query for attachments needs to be always limited to load only the attachments from the specific posts that are going to be displayed in the feed.

            Unassigned Unassigned
            Snover Snover [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: