These changes fix the Heap-buffer-overflow in Codec__decodeXAACStream runtime error
caused due to unsupported frame length type configuration for LATM streams.
Bug: ossFuzz:67767
Test: poc in bug
Significance:
========
[x] Aligned buffer access for scratch memory and scratch memory optimization.
Testing:
=====
[x] MSVS Conformance and CTS are passing.
[x] All previous fuzzer crashes are tested. No crash observed.
[x] For platforms, Conformance tested with different combinations.
[x] Tested Conformance with gcc builds for x86, x86_64, armv7 and armv8.
[x] Tested Conformance with clang builds with address and memory sanitizer flags for x86_64 and armv8.
There hasn't been a non-neon platform build in years. Even the NDK hasn't supported non-neon for two years now.
Change-Id: I1d892e8bd97371a87771183655c1e5803a7e4400
These changes handle the heap buffer overflow runtime error
by reducing the maximum number of loudnessInfo blocks supported.
Bug: ossFuzz: 67273
Test: poc in bug
These changes handle the runtime error reported by preventing the
inappropriate access of uninitialized member from a structure.
Bug: ossFuzz: 65422
Test: poc in bug
These changes handle the divide-by-zero runtime error reported
while calculating the inverse of difference between consecutive
parameter time slot.
Bug: ossFuzz:65191
Test: poc in bug
These changes handle the Heap-buffer-overflow WRITE 8 runtime error reported
due to unsupported channel configuration for USAC.
Bug: ossFuzz:64960
Test: poc in bug
This change handles the error reported while processing
individual bitstream element in case of multi-channel streams.
Bug: ossFuzz: 64022
Test: poc in bug
These changes handle the index-out-of-bounds runtime error reported
when the value of arbitrary downmix residual bands is greater than or equal
to the number of parameter bands.
Bug: ossFuzz:63564
Test: poc in bug
These changes handle the divide-by-zero runtime error reported
while calculating the downmix coefficients because
base channel count was coming zero.
Bug: ossFuzz:63420
Test: poc in bug
These changes handle the nested bug in the same thread, aborting issue
reported by disabling some code checks which are related to EC.
Bug: ossFuzz:62003
Test: poc in bug
These changes handle the divide-by-zero runtime error
reported when the active lines become zero in
quantization. The issue is reported with AAC and the
same changes are extended to USAC.
Bug: ossFuzz: 62977
Test: poc in bug
These changes handle the index-out-of-bounds runtime error
reported when the bit consumption exceeds the bit reservoir
and global gain reaches the maximum value. The issue is
reported with USAC and the same changes are extended to AAC.
Bug: ossFuzz: 63019
Test: poc in bug
* Fix for divide-by-zero in ixheaacd_sbr_env_calc
These changes handle the divide-by-zero runtime error reported
while calculating the energy because the consecutive frequency bands
were coming same.
Bug: ossFuzz:63038
Test: poc in bug
* Fix for divide-by-zero in ixheaacd_calc_stop_band
These changes handle the divide-by-zero runtime error reported
because sampling frequency comes out to be zero.
Bug: ossFuzz:63138
Test: poc in bug
These changes handle the divide-by-zero runtime
error reported when the average bits become zero
in bit reservoir factor calculation.
Bug: ossFuzz: 62291
Test: poc in bug
These changes handle the divide-by-zero runtime error
reported when the successive drc gain coordinates
have same x coordinates.
Bug: ossFuzz:62237
Test: poc in bug
These changes handle the global-buffer-overflow runtime error
reported when the tonal difference in the SBR module becomes
zero.
Bug: ossFuzz: 62261
Test: poc in bug
These changes handle the divide-by-zero runtime error reported
while calculating the energy because the start sample and end sample
were coming same.
Bug: ossFuzz:62766
Test: poc in bug
These changes handle the index-out-of-bounds runtime error
reported when the value of residual sampling frequency index
is greater than max residual sampling frequency index.
Bug: ossFuzz:62707
Test: poc in bug
These changes handle the divide-by-zero runtime error
reported while calculating the border vector value because
the value read from bitstream was coming greater the expected value.
Bug: ossFuzz:62633
Test: poc in bug
These changes handle the Divide-by-zero runtime error reported
while calculating the energy estimation because the
consecutive border vectors were coming same.
Bug: ossFuzz:62282
Test: poc in bug
These changes handle the Undefined-shift runtime error reported
because the value of shift was coming greater than maximum expected value.
Bug: ossFuzz:62328
Test: poc in bug
These changes handle the Undefined-shift runtime error reported
because the value of shift was coming greater than maximum expected value.
Bug: ossFuzz:62339
Test: poc in bug
These changes handle the Timeout runtime-error reported when
number of bytes consumed are lower as compared to size of
input stream.
Bug: ossFuzz:62360
Test: poc in bug
These changes handle the Undefined shift runtime error reported
when bit position in huffman codeword reordering operation becomes
negative.
Bug: ossFuzz:62408
Test: poc in bug