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

conflicting data types, crashing clients

    XMLWordPrintable

Details

    • 10.2.7-1

    Description

      MariaDB 10.2.x (including current stable version 10.2.6) ships with new libmariadb. This new client library is built with new header files mariadb_*.h.

      When compiling clients these are linked against new libmariadb, but use old header file mysql.h that is still shipped.

      The header files use conflicting data definitions. One example is struct st_mysql_stmt, defined in mysql.h at line 723 and mariadb_stmt.h at line 193. Possibly there are more conflicts.

      These conflicting data definitions lead to memory corruption, illegal memory access and crashes for the client. This has been discovered with perl-dbd-mysql where lots of tests fail with make test.

      Attachments

        Activity

          People

            georg Georg Richter
            eworm Christian Hesse
            Votes:
            0 Vote for this issue
            Watchers:
            6 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.