Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1416

fromjson can cause a crash

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.5.5
    • None
    • None
    • None
    • ALL

    Description

      fromjson("

      {a:1,'sub.b':2,'sub.c':3}

      "); <---- works
      fromjson("

      {a:1,sub.b:2,sub.c:3}

      "); <---- crashes

      terminate called after throwing an instance of 'std::length_error'
      what(): basic_string::_S_create
      Aborted

      Attachments

        Activity

          People

            mathias@mongodb.com Mathias Stearn
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: