diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-01-24 04:03:41 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-01-25 03:10:52 -0600 |
commit | 57f288fdcc775f044700aac98c8cf94024c4b7db (patch) | |
tree | c64e345b9cdca3e57cefc73168b4385923a4722a /idlc | |
parent | coverity#440167 Dereference after null check (diff) | |
download | core-57f288fdcc775f044700aac98c8cf94024c4b7db.tar.gz core-57f288fdcc775f044700aac98c8cf94024c4b7db.zip |
coverity#440240 Dereference after null check
Change-Id: I1ca5e4d31ab203a0ddd5e98928f5046f5fffb485
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/astexpression.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/idlc/source/astexpression.cxx b/idlc/source/astexpression.cxx index 69b5f9f6248a..995796e22f7b 100644 --- a/idlc/source/astexpression.cxx +++ b/idlc/source/astexpression.cxx @@ -1138,7 +1138,7 @@ OString AstExpression::toString() { OString exprStr; if ( m_combOperator == EC_symbol ) - return *m_pSymbolicName; + return m_pSymbolicName ? *m_pSymbolicName : OString("<Undefined Name>"); if ( m_exprValue ) { |