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

fromjson can cause a crash

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL

      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

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

              Created:
              Updated:
              Resolved: