fromjson can cause a crash

XMLWordPrintableJSON

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

      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 Stearn
            Reporter:
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: