зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1332953 - Update libopus to 1.1.4. r=kinetik
This fixes a wrap-around issue in SILK LSF stabilization code, addressing CVE-2017-0381. MozReview-Commit-ID: 7yCUoSKNOcl --HG-- extra : rebase_source : da94105d911d7e15b09a549b4b67083a1c2acd93
This commit is contained in:
Родитель
4638f16b5d
Коммит
0ffd3075b9
|
@ -8,4 +8,4 @@ files after the copy step.
|
|||
|
||||
The upstream repository is https://git.xiph.org/opus.git
|
||||
|
||||
The git tag/revision used was v1.1.3.
|
||||
The git tag/revision used was v1.1.4.
|
||||
|
|
|
@ -20,7 +20,7 @@ ALLOW_COMPILER_WARNINGS = True
|
|||
FINAL_LIBRARY = 'gkmedias'
|
||||
|
||||
DEFINES['OPUS_BUILD'] = True
|
||||
DEFINES['OPUS_VERSION'] = '"v1.1.3-mozilla"'
|
||||
DEFINES['OPUS_VERSION'] = '"v1.1.4-mozilla"'
|
||||
DEFINES['USE_ALLOCA'] = True
|
||||
|
||||
# Don't export symbols
|
||||
|
|
|
@ -130,7 +130,7 @@ void silk_NLSF_stabilize(
|
|||
|
||||
/* Keep delta_min distance between the NLSFs */
|
||||
for( i = 1; i < L; i++ )
|
||||
NLSF_Q15[i] = silk_max_int( NLSF_Q15[i], NLSF_Q15[i-1] + NDeltaMin_Q15[i] );
|
||||
NLSF_Q15[i] = silk_max_int( NLSF_Q15[i], silk_ADD_SAT16( NLSF_Q15[i-1], NDeltaMin_Q15[i] ) );
|
||||
|
||||
/* Last NLSF should be no higher than 1 - NDeltaMin[L] */
|
||||
NLSF_Q15[L-1] = silk_min_int( NLSF_Q15[L-1], (1<<15) - NDeltaMin_Q15[L] );
|
||||
|
|
Загрузка…
Ссылка в новой задаче