• Rucha Deodhar's avatar
    MDEV-26392: Crash with json_get_path_next and 10.5.12 · ff72a943
    Rucha Deodhar authored
    Analysis:
    When we skip level when path is found, it changes the state of the json
    engine. This breaks the sequence for json_get_path_next() which is called at
    the end to ensure json document is valid and leads to crash.
    Fix:
    Use json_scan_next() at the end to check if json document has correct
    syntax (is valid).
    ff72a943
func_json.test 34.4 KB