Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-823

Infer: NULLPTR_DEREFERENCE in libmariadb

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • 3.4
    • None

    Description

      11.4.9-6
      libmariadb/libmariadb/ma_dtoa.c:98: NULLPTR_DEREFERENCE: The call to `dtoa` may trigger the following issue: `res` could be null (from the call to `dtoa()` on line 98) and is dereferenced in the call to `dtoa()`.
      libmariadb/libmariadb/mariadb_lib.c:1064: NULLPTR_DEREFERENCE: null (null value originating from line 1064) is dereferenced.
      libmariadb/unittest/libmariadb/features-10_2.c:215: NULLPTR_DEREFERENCE: null (from the call to `mysql_stmt_init()` on line 214) is dereferenced in the call to `mysql_stmt_attr_set()`.
      libmariadb/unittest/libmariadb/misc.c:1714: NULLPTR_DEREFERENCE: null (null value originating from line 1714) is dereferenced in the call to `mysql_stmt_close()`.
      libmariadb/unittest/libmariadb/ps.c:100: NULLPTR_DEREFERENCE: `stmt` could be null (from the call to `mysql_stmt_init()` on line 98) and is dereferenced in the call to `mysql_stmt_attr_set()`.
      libmariadb/unittest/libmariadb/ps.c:5156: NULLPTR_DEREFERENCE: `stmt` could be null (from the call to `mysql_stmt_init()` on line 5152) and is dereferenced in the call to `mysql_stmt_attr_get()`.
      libmariadb/unittest/libmariadb/ps.c:5234: NULLPTR_DEREFERENCE: `stmt` could be null (from the call to `mysql_stmt_init()` on line 5229) and is dereferenced in the call to `mysql_stmt_attr_get()`.
      libmariadb/unittest/libmariadb/ps_bugs.c:837: NULLPTR_DEREFERENCE: `stmt` could be null (from the call to `mysql_stmt_init()` on line 836) and is dereferenced in the call to `mysql_stmt_attr_set()`.
       
      11.8.5-2
      libmariadb/libmariadb/ma_dtoa.c:98: NULLPTR_DEREFERENCE: The call to `dtoa` may trigger the following issue: `res` could be null (from the call to `dtoa()` on line 98) and is dereferenced in the call to `dtoa()`.
      libmariadb/libmariadb/mariadb_lib.c:1064: NULLPTR_DEREFERENCE: null (null value originating from line 1064) is dereferenced.
      libmariadb/unittest/libmariadb/features-10_2.c:215: NULLPTR_DEREFERENCE: null (from the call to `mysql_stmt_init()` on line 214) is dereferenced in the call to `mysql_stmt_attr_set()`.
      libmariadb/unittest/libmariadb/misc.c:1714: NULLPTR_DEREFERENCE: null (null value originating from line 1714) is dereferenced in the call to `mysql_stmt_close()`.
      libmariadb/unittest/libmariadb/ps.c:100: NULLPTR_DEREFERENCE: `stmt` could be null (from the call to `mysql_stmt_init()` on line 98) and is dereferenced in the call to `mysql_stmt_attr_set()`.
      libmariadb/unittest/libmariadb/ps.c:5156: NULLPTR_DEREFERENCE: `stmt` could be null (from the call to `mysql_stmt_init()` on line 5152) and is dereferenced in the call to `mysql_stmt_attr_get()`.
      libmariadb/unittest/libmariadb/ps.c:5234: NULLPTR_DEREFERENCE: `stmt` could be null (from the call to `mysql_stmt_init()` on line 5229) and is dereferenced in the call to `mysql_stmt_attr_get()`.
      libmariadb/unittest/libmariadb/ps_bugs.c:837: NULLPTR_DEREFERENCE: `stmt` could be null (from the call to `mysql_stmt_init()` on line 836) and is dereferenced in the call to `mysql_stmt_attr_set()`.
       

      Attachments

        Activity

          People

            georg Georg Richter
            es-jenkins-sa ES Jenkins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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