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

A very long string inside message crashes PHP

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Resolved
    • 3.1.2
    • 3.2.0-a2
    • Posting
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: