Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-16876

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

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 3.2.10, 3.3.4
    • None
    • Other
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Snover Snover
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: