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

A very long string inside message crashes PHP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Resolved
    • Icon: Minor Minor
    • 3.2.0-a2
    • 3.1.2
    • 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.

      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.

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

              Created:
              Updated:
              Resolved: