Usage of strtoll in generateJSONSchemaArraySingleSchemaError can throw std::exception

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.13, 8.3.9, 7.0.41, 8.0.30, 9.0.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • ALL
    • v9.0, v8.3, v8.2, v8.0, v7.0
    • QE 2026-07-20, QE 2026-08-03, QE 2026-08-17, QE 2026-08-31, QE 2026-09-15
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      TheĀ 
      generateJSONSchemaArraySingleSchemaError method uses std::strtoll that, in case of bad input, can throw a std::exception that, unless caught by an explicit try/catch, can reach the main function and terminate the process

            Assignee:
            Alberto Massari
            Reporter:
            Alberto Massari
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: