Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-6669

Flaw in OOM Fix for JSON CommentStripping

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • cm.json-2.0.2
    • cm.json-2.0.4
    • None
    • None

    Description

      While applying the patched version to some more real world data I noticed that I missed a crucial condition that's not been covered in the unit tests so far: comments and parts of the tokens within String properties.

      To fix this I'll provide a patch that will take care of detecting when a string property or comment is starting and ending and only consider the handling for the other after the end token has been found.

      Attachments

        Issue Links

          Activity

            People

              rombert Robert Munteanu
              dsuess Dominik Süß
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: