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

No remote avatar size limit results in files limited only by PHP memory limit

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.0.10
    • 3.0.11-RC1
    • Other
    • None

    Description

      If the remote avatar size is set to 0, the upload file size is unlimited. This can lead to memory exhaustion in the getimagesize() call following after. Instead an avatar size limit of 0 should restrict file upload to the value of php ini setting upload_max_filesize. This needs to be made clear in the ACP language string as well.

      Attachments

        Activity

          People

            naderman Nils Adermann [X] (Inactive)
            naderman Nils Adermann [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: