You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2017/01/07 01:03:58 UTC

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

     [ https://issues.apache.org/jira/browse/ORC-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen O'Malley resolved ORC-127.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.0

I just committed this. Thanks, Deepak!

> 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
>             Fix For: 1.3.0
>
>
>      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)