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

A very long string inside message crashes PHP

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Resolved
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.2.0-a2
    • Component/s: Posting
    • Labels:
      None
    • Environment:
      Tested on:
      PHP 5.3.29, MySQL 5.5.40, CentOS 6.4
      PHP 5.6.4, MySQL 5.6.17, Windows 7

      Confirmed on www.phpbb.com community forum.

      Description

      When pasting a very long string into the message field (but less than 60000 chars) and tying to post or preview a message, PHP will crash.

      I tracked it down to email regex in the make_clickable() function.

      Example string that will break things (a long single-line string) is attached.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nicofuma nicofuma
              Reporter:
              kstirn kstirn [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: