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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.0.11-RC1
    • 3.0.10
    • Other
    • None

      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.

            naderman Nils Adermann
            naderman Nils Adermann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: