Uploaded image for project: 'Bitbucket Server'
  1. Bitbucket Server
  2. BSERV-11736

StackOverflowError in org.commonmark.internal.InlineParserImpl

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 6.2.0
    • Fix Version/s: 6.6.0
    • Component/s: None
    • Labels:
      None

      Description

      Initially reported internally on Bitbucket Server 6.3.0-rc1, but I can also reproduce the problem on the most recent release 6.2.0

       java.lang.StackOverflowError: null
       at java.util.regex.Pattern$Branch.match(Pattern.java:4606)
       at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660)
       at java.util.regex.Pattern$Loop.match(Pattern.java:4787)
       at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719)
       at java.util.regex.Pattern$BranchConn.match(Pattern.java:4570)
       

      Tested on branch issue-152-commonmark-0.29 I can no longer reproduce the problem, so we just need to update to a new commonmark-java version which should be released in the near future.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              behumphreys Ben Humphreys
              Reporter:
              behumphreys Ben Humphreys
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: