Skip to content

Commit

Permalink
Add default case for undefined pointer initialization
Browse files Browse the repository at this point in the history
Bug: 28026175
Change-Id: I1b149bf1573296df18abbe44f737bd87ab3913f9
  • Loading branch information
gkasten committed Apr 18, 2016
1 parent 4bd4510 commit 1dd7649
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libSBRdec/src/env_extr.cpp
Expand Up @@ -904,6 +904,9 @@ static const FRAME_INFO v_frame_info4_8 = { 0, 4, {0, 2, 4, 6, 8}, {1, 1, 1, 1},
break;
default:
FDK_ASSERT(0);
/* in case assertion checks are disabled, force a definite memory fault at first access */
pTable = NULL;
break;
}

/* look number of envelopes in table */
Expand Down

0 comments on commit 1dd7649

Please sign in to comment.