Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-39205

Assertion Crash in JSON IF Evaluation

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Duplicate
    • 12.3.1
    • N/A
    • Optimizer
    • None
    • ubuntu22.04
    • Not for Release Notes

    Description

      Summary

      MariaDB 12.3.1 ASAN debug crashes on a single statement:

      DO IF(JSON_DEPTH(''), JSON_OBJECT(), NULL);
      

      MariaDB [test]> DO IF(JSON_DEPTH(''), JSON_OBJECT(), NULL);
      ERROR 2026 (HY000): TLS/SSL error: unexpected eof while reading

      Environment

      Version: 12.3.1-MariaDB-asan-debug

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mu mu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.