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

StackOverflowError in org.commonmark.internal.InlineParserImpl

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 6.6.0
    • 6.2.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: