You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/01/06 01:33:59 UTC

[jira] [Commented] (ORC-127) Fix Coverity bug report

    [ https://issues.apache.org/jira/browse/ORC-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15803141#comment-15803141 ] 

ASF GitHub Bot commented on ORC-127:
------------------------------------

GitHub user majetideepak opened a pull request:

    https://github.com/apache/orc/pull/77

    ORC-127: Fix Coverity bug report

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/majetideepak/orc ORC-127

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/orc/pull/77.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #77
    
----
commit 9e16057dab46ac982b5656a4a71a0c0b323e2570
Author: Deepak Majeti <de...@hpe.com>
Date:   2017-01-06T01:30:28Z

    ORC-127: Fix Coverity bug report

----


> Fix Coverity bug report
> -----------------------
>
>                 Key: ORC-127
>                 URL: https://issues.apache.org/jira/browse/ORC-127
>             Project: Orc
>          Issue Type: Bug
>          Components: C++
>            Reporter: Deepak Majeti
>            Assignee: Deepak Majeti
>
>      CID 173749:  Uninitialized members  (UNINIT_CTOR)
>     /c++/src/Reader.cc: 259 in orc::RowReaderImpl::RowReaderImpl(std::shared_ptr<orc::FileContents>, const orc::RowReaderOptions &)()
>     253         } else {
>     254           previousRow = firstRowOfStripe[firstStripe]-1;
>     255         }
>     256
>     257         ColumnSelector column_selector(contents.get());
>     258         column_selector.updateSelected(selectedColumns, options);
>     >>>     CID 173749:  Uninitialized members  (UNINIT_CTOR)
>     >>>     Non-static class member "rowsInCurrentStripe" is not initialized in this constructor nor in any functions that it calls.
>     259       }
>     260
>     261       const RowReaderOptions& RowReaderImpl::getRowReaderOptions() const {
>     262         return options;
>     263       }
>     264



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)