[ https://issues.apache.org/jira/browse/TRAFODION-2838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16289493#comment-16289493 ]
ASF GitHub Bot commented on TRAFODION-2838: ------------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/incubator-trafodion/pull/1337 > Add missing error check in NATableDB::get > ----------------------------------------- > > Key: TRAFODION-2838 > URL: https://issues.apache.org/jira/browse/TRAFODION-2838 > Project: Apache Trafodion > Issue Type: Bug > Components: sql-cmp > Affects Versions: 2.3-incubating > Reporter: David Wayne Birdsall > Assignee: David Wayne Birdsall > > In NATableDB::get, there is a call to the NATable constructor that lacks an > error check afterward. The NATable constructor calls several methods that > have error returns, leaving the NATable object having sometimes incomplete > state. In particular, if createNAFileSets fails, the clustering information > will be missing. This will cause NATable::updateExtTableAttrs to abend when > it then dereferences a null pointer. -- This message was sent by Atlassian JIRA (v6.4.14#64029)