Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-6424

Infer: NULLPTR_DEREFERENCE in columnstore

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • 2026-8

    Description

      11.4.9-6
      storage/columnstore/columnstore/dbcon/joblist/jlf_tuplejoblist.cpp:1153: NULLPTR_DEREFERENCE: `bps` could be null (null value originating from line 946) and is dereferenced.
      storage/columnstore/columnstore/dbcon/mysql/ha_mcs.cpp:451: NULLPTR_DEREFERENCE: null (null value originating from line 451) is dereferenced in the call to `ha_mcs_impl_direct_update_delete_rows()`.
      storage/columnstore/columnstore/dbcon/mysql/ha_mcs.cpp:467: NULLPTR_DEREFERENCE: null (null value originating from line 467) is dereferenced in the call to `ha_mcs_impl_direct_update_delete_rows()`.
      storage/columnstore/columnstore/tools/passwd/secrets.cpp:412: NULLPTR_DEREFERENCE: `jsontree.m_data.m_value.object` could be null (from the call to `nlohmann::basic_json::basic_json()` on line 395) and is dereferenced in the call to `nlohmann::basic_json::operator[]()`.
      storage/columnstore/columnstore/utils/funcexp/func_bitwise.cpp:148: NULLPTR_DEREFERENCE: The call to `literal::Converter<literal::SignedNumericLiteral>::Converter` ends up calling `genericparser::Parser::DD2OM<literal::Sign,literal::UnsignedNumericLiteral>::DD2OM` (after 2 more calls) and may trigger the following issue: null (from the call to `literal::Converter::Converter()` on line 148) is dereferenced in the call to `literal::Converter::Converter()`.
      storage/columnstore/columnstore/utils/funcexp/func_bitwise.cpp:148: NULLPTR_DEREFERENCE: The call to `literal::Converter<literal::SignedNumericLiteral>::Converter` ends up calling `genericparser::Parser::UD2MM<literal::Period,literal::UnsignedInteger>::UD2MM` (after 8 more calls) and may trigger the following issue: null (from the call to `literal::Converter::Converter()` on line 148) is dereferenced in the call to `literal::Converter::Converter()`.
      storage/columnstore/columnstore/utils/funcexp/func_bitwise.cpp:148: NULLPTR_DEREFERENCE: The call to `literal::Converter<literal::SignedNumericLiteral>::Converter` ends up calling `genericparser::Tokenizer::tokenDigits` (after 12 more calls) and may trigger the following issue: `p->mStr` could be null (from the call to `literal::Converter::Converter()` on line 148) and is dereferenced in the call to `literal::Converter::Converter()`.
      storage/columnstore/columnstore/writeengine/server/we_dataloader.cpp:608: NULLPTR_DEREFERENCE: `obs.fCurInPtr` could be null (from the call to `messageqcpp::ByteStream::reset()` on line 607) and is dereferenced in the call to `messageqcpp::ByteStream::operator()`.
      storage/columnstore/columnstore/writeengine/server/we_dataloader.cpp:608: NULLPTR_DEREFERENCE: `obs.fCurInPtr` could be null (null value originating from line 561) and is dereferenced in the call to `messageqcpp::ByteStream::operator()`.
       
      11.8.5-2
      storage/columnstore/columnstore/dbcon/joblist/jlf_tuplejoblist.cpp:1153: NULLPTR_DEREFERENCE: `bps` could be null (null value originating from line 946) and is dereferenced.
      storage/columnstore/columnstore/dbcon/mysql/ha_mcs.cpp:451: NULLPTR_DEREFERENCE: null (null value originating from line 451) is dereferenced in the call to `ha_mcs_impl_direct_update_delete_rows()`.
      storage/columnstore/columnstore/dbcon/mysql/ha_mcs.cpp:467: NULLPTR_DEREFERENCE: null (null value originating from line 467) is dereferenced in the call to `ha_mcs_impl_direct_update_delete_rows()`.
      storage/columnstore/columnstore/tools/passwd/secrets.cpp:412: NULLPTR_DEREFERENCE: `jsontree.m_data.m_value.object` could be null (from the call to `nlohmann::basic_json::basic_json()` on line 395) and is dereferenced in the call to `nlohmann::basic_json::operator[]()`.
      storage/columnstore/columnstore/utils/funcexp/func_bitwise.cpp:148: NULLPTR_DEREFERENCE: The call to `literal::Converter<literal::SignedNumericLiteral>::Converter` ends up calling `genericparser::Parser::DD2OM<literal::Sign,literal::UnsignedNumericLiteral>::DD2OM` (after 2 more calls) and may trigger the following issue: null (from the call to `literal::Converter::Converter()` on line 148) is dereferenced in the call to `literal::Converter::Converter()`.
      storage/columnstore/columnstore/utils/funcexp/func_bitwise.cpp:148: NULLPTR_DEREFERENCE: The call to `literal::Converter<literal::SignedNumericLiteral>::Converter` ends up calling `genericparser::Parser::UD2MM<literal::Period,literal::UnsignedInteger>::UD2MM` (after 8 more calls) and may trigger the following issue: null (from the call to `literal::Converter::Converter()` on line 148) is dereferenced in the call to `literal::Converter::Converter()`.
      storage/columnstore/columnstore/utils/funcexp/func_bitwise.cpp:148: NULLPTR_DEREFERENCE: The call to `literal::Converter<literal::SignedNumericLiteral>::Converter` ends up calling `genericparser::Tokenizer::tokenDigits` (after 12 more calls) and may trigger the following issue: `p->mStr` could be null (from the call to `literal::Converter::Converter()` on line 148) and is dereferenced in the call to `literal::Converter::Converter()`.
      storage/columnstore/columnstore/writeengine/server/we_dataloader.cpp:608: NULLPTR_DEREFERENCE: `obs.fCurInPtr` could be null (from the call to `messageqcpp::ByteStream::reset()` on line 607) and is dereferenced in the call to `messageqcpp::ByteStream::operator()`.
      storage/columnstore/columnstore/writeengine/server/we_dataloader.cpp:608: NULLPTR_DEREFERENCE: `obs.fCurInPtr` could be null (null value originating from line 561) and is dereferenced in the call to `messageqcpp::ByteStream::operator()`.
       

      Attachments

        Activity

          People

            sergey.zefirov Sergey Zefirov
            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.