You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Deepak Majeti (JIRA)" <ji...@apache.org> on 2017/01/06 01:28:58 UTC
[jira] [Updated] (ORC-127) Fix Coverity bug report
[ https://issues.apache.org/jira/browse/ORC-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepak Majeti updated ORC-127:
------------------------------
Description:
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
was:
*** 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
> Fix Coverity bug report
> -----------------------
>
> Key: ORC-127
> URL: https://issues.apache.org/jira/browse/ORC-127
> Project: Orc
> Issue Type: Bug
> 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)