aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2016-04-20 23:44:28 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-04-20 23:44:28 +0000
commit0d9ca2d051526199e875bcddeb8e8008872188a0 (patch)
treed934b40fe0a70c9278e7d0f7db1f8223b3e47b39
parente95a3bd58f2a6e7a67cd22d5dcea44c36024bea2 (diff)
parentc3f7cf7f1b8987a873ceea8c1b45206dd611e425 (diff)
downloadfdk-aac-0d9ca2d051526199e875bcddeb8e8008872188a0.tar.gz
fdk-aac-0d9ca2d051526199e875bcddeb8e8008872188a0.tar.bz2
fdk-aac-0d9ca2d051526199e875bcddeb8e8008872188a0.zip
Merge "Add default case for undefined pointer initialization" am: 9d0179c am: 27625f2
am: c3f7cf7 * commit 'c3f7cf7f1b8987a873ceea8c1b45206dd611e425': Add default case for undefined pointer initialization Change-Id: I11a5787070f3be7f2d476ec1ebd54c1d41ce7dc2
-rw-r--r--libSBRdec/src/env_extr.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libSBRdec/src/env_extr.cpp b/libSBRdec/src/env_extr.cpp
index dacd951..4d53a13 100644
--- a/libSBRdec/src/env_extr.cpp
+++ b/libSBRdec/src/env_extr.cpp
@@ -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 */