Commit graph

1104 commits

Author SHA1 Message Date
Akshay Ragir
a00a8d3c2c Fix for the Divide-by-zero in iusace_tcx_fac_encode
These changes handle the Divide-by-zero runtime error
reported by correcting the TCX pre-shaping and
shaping related parameters.

Bug: ossFuzz:61899
Test: poc in bug
2023-09-01 21:42:20 +05:30
Yash Patil
29d968bd4c Fix for undefined shift in ducker_apply
These changes handle the Undefined-shift
runtime error reported because value of Q factor
calculated was negative when denominator is zero in division operation.

Bug: ossFuzz:61698
Test: poc in bug
2023-09-01 16:38:08 +05:30
Yash Patil
91dbf5577d Fix for divide by zero in ixheaacd_mps_frame_decode
These changes handle the Divide-by-zero
runtime error by appropriately initializing the parameter slots.

Bug: ossFuzz:61694
Test: poc in bug
2023-09-01 16:38:08 +05:30
Yash Patil
3479c64b90 Fix for Global-buffer-overflow READ 2 in ixheaacd_res_ctns_apply
These changes handle the Global-buffer-overflow
runtime error reported because tns data filter was getting initialised
inappropriately and was returning an error which was not propagated up.

Bug: ossFuzz:61816
Test: poc in bug
2023-09-01 16:38:08 +05:30
Yash Patil
89310eebc8 Fix for index out of bounds in ixheaacd_calc_m1m2_7272
These changes handle the Index-out-of-bounds
runtime error reported when there is invalid access for some buffers.
It is prevented by propagating error appropriately.

Bug: ossFuzz:61789
Test: poc in bug
2023-09-01 16:38:08 +05:30
Yash Patil
e3f38372d0 Fix for use of uninitialized value in ixheaacd_cos_sin_mod
These changes handle the Use-of-uninitialized-value
runtime error reported because local buffer was not initialized
in complex analysis QMF filter block leading to uninitialized access.

Bug: ossFuzz:61691
Test: poc in bug
2023-09-01 16:38:08 +05:30
Shreyas Talwekar
cd91e1af76 Fix for the Heap-buffer-overflow in ixheaace_process
This change handles the Heap-buffer-overflow by
considering the bits used by the SBR encoder for
USAC mono streams.

Bug: ossFuzz:61825
Test: poc in bug
2023-08-31 09:12:21 +05:30
Shreyas Talwekar
5285d1921d Fix for the Divide-by-zero in iusace_cplx_pred_proc
These changes handle the Divide-by-zero runtime
error when the residual energy becomes zero.
This is resolved by making the value of residual
energy closer to zero instead of absolute zero.

Bug: ossFuzz:61826
Test: poc in bug
2023-08-31 09:12:21 +05:30
Shreyas Talwekar
69a0983d7b Fix for the Null-dereference in ixheaace_extract_sbr_envelope
These changes handle the Null-dereference runtime error
reported because of the inappropriate usage of members
from an uninitialized structure when harmonic sbr is
disabled.

Bug: ossFuzz:61687
Test: poc in bug
2023-08-31 09:12:21 +05:30
Akshay Ragir
5b23cc288a Fix for the Divide-by-zero in ia_enhaacplus_enc_calc_weighted_spectrum
These changes handle the Divide-by-zero runtime error
when the value of scale factor band energy becomes
zero. This is resolved by making it closer to zero
instead of absolute zero.

Bug: ossFuzz:61709
Test: poc in bug
2023-08-31 09:12:21 +05:30
Akshay Ragir
5e7d72a065 Fix for the Divide-by-zero in iusace_fd_fac
These changes handle the Divide-by-zero runtime
error reported because of the inappropriate
usage of pstr_acelp->len_frame in Frequency
Domain coding.

Bug: ossFuzz:61669
Test: poc in bug
2023-08-31 09:12:21 +05:30
Akshay Ragir
e5650552a2 Fix for the Divide-by-zero in iaace_adjust_threshold
These changes handle the Divide-by-zero runtime
error if bit reservoir is not maintained. This
arises if the bit reservoir size value is set
to -1 using command line input.

Bug: ossFuzz:61711
Test: poc in bug
2023-08-31 09:12:21 +05:30
Harish Mahendrakar
5dafc531ed Create cifuzz.yml and cmake.yml
Added github actions to verify pull requests
2023-08-22 07:23:43 -07:00
Nikhil Bhavikatti
1a62ab2e92
USAC Encoder enhancements (#45) 2023-08-21 10:54:50 +05:30
Harish Mahendrakar
6c751eba82 ossfuzz: Enable building xaac_enc_fuzzer 2023-08-16 20:45:53 -07:00
Harish Mahendrakar
029ef1c6bd cmake: Added macros for x86_64 for future use
Added macros for x86_64 in libxaac_add_definitions in utils.cmake
which will be useful in the future for any x86_64 specific usecase.
2023-08-10 10:12:26 -07:00
Nikhil Bhavikatti
79e7fec6db
Encoder updates (#42) 2023-08-07 11:59:48 +05:30
Nikhil Bhavikatti
d5a175920e
DRC API and testbench updates (#41) 2023-08-04 19:29:27 +05:30
Nikhil Bhavikatti
917448ce5d
Encoder Fuzzer updates (#40) 2023-08-02 13:25:35 +05:30
Nikhil Bhavikatti
eec1f1c336
Encoder enhancements for DRC (#39) 2023-07-28 17:53:06 +05:30
Nikhil Bhavikatti
af3f10a9be
Encoder enhancements for USAC along with DRC (#38) 2023-07-21 19:29:46 +05:30
Nikhil Bhavikatti
797de4d1e9
USAC along with DRC support for libxaac encoder (#37) 2023-07-14 13:04:15 +05:30
akshayragir833
e78e1c43c3
Code refactoring and minor fixes (#36)
Co-authored-by: Akshay Ragir <100833@ittiam.com>
2023-07-07 16:15:45 +05:30
sandeshvenkatesh
3dfbcff249
Merge pull request #35 from ittiam-systems/document_changes
libxaac documentation edits
2023-06-30 07:15:04 +05:30
Divya B M
7e39853503 Minor edits 2023-06-29 23:32:52 +05:30
Divya B M
d530b66d97 Added description for MPEG-D DRC 2023-06-29 17:16:35 +05:30
Akshay Ragir
174609e1ba libxaac documentation edits 2023-06-28 15:53:49 +05:30
bmdivya100655
b2e7201907
Encoder Enhancements (#34)
* Removed BUILD_ARM64 macro dependency
* Code refactoring
* Minor bug fixes

Co-authored-by: Divya B M <100655@ittiam.com>
2023-06-23 17:54:31 +05:30
bmdivya100655
088122e748
Combined Workspace for Encoder and Decoder (#33)
* Combined Workspace for Encoder and Decoder

* Addressed review comments and some minor edits

---------

Co-authored-by: Divya B M <100655@ittiam.com>
2023-05-22 20:11:52 +05:30
sandeshvenkatesh
48a1ff21ba
Merge pull request #32 from ittiam-systems/esbr_switch
ESBR command line switch support for xHEAAC decoder
2023-05-18 15:42:12 +05:30
Nikhil Bhavikatti
2a43ff9ac7 ESBR command line switch support for xHEAAC decoder 2023-05-17 11:27:24 +05:30
tripti-tiwari
f5242f4ed2
Merge pull request #31 from ittiam-systems/dec_restruct
Restructuring of Decoder
2023-05-15 19:35:10 +05:30
Nikhil Bhavikatti
ae104f0711 Restructuring of Decoder 2023-05-15 17:23:01 +05:30
sandeshvenkatesh
7fd0b9fdfd
Merge pull request #30 from ittiam-systems/cmake_updates
cleanup cmake files
2023-04-28 10:01:14 +05:30
Harish Mahendrakar
0233db3f5e cleanup cmake files 2023-04-28 09:34:42 +05:30
sandeshvenkatesh
0198a4c0d1
Merge pull request #29 from ittiam-systems/oob_fix
Fix for OOB issue in MPS module
2023-04-26 15:21:13 +05:30
Nikhil Bhavikatti
18930ce001 Fix for OOB issue in MPS module 2023-04-26 09:37:56 +05:30
Nikhil Bhavikatti
6a21d80d2d
Fix for crash observed with MSVS x64 build (#28)
* Fixes for runtime errors in error concealment module

* Fix for crash observed with MSVS x64 build

---------

Co-authored-by: Nikhil Bhavikatti <nikhilbhavikatti19@gmail.com>
2023-03-24 13:38:02 +05:30
tripti-tiwari
e57c502b3c
Merge pull request #27 from ittiam-systems/fuzzer_fixes
Build warning and Fuzzer Fixes
2023-03-07 19:39:09 +05:30
Shashank Pathmudi
6673735863 Fix for global buffer overflows in MPS and ELDv2 modules 2023-03-07 16:04:54 +05:30
Shashank Pathmudi
75beebc9be Fix for build warnings observed with clang-10 2023-03-07 16:04:27 +05:30
Nikhil Bhavikatti
b2655cee5d
Merge pull request #26 from ittiam-systems/ec_support
Error concealment support for xHEAAC decoder
2023-02-28 22:08:15 +05:30
Shashank Pathmudi
6ce7dc469c Error concealment support for xHEAAC decoder 2023-02-28 11:54:07 +05:30
tripti-tiwari
318b781e32
Merge pull request #25 from ittiam-systems/mps_fuzzer_fix
Fix for stack buffer overflow in MPS module
2023-02-15 15:55:04 +05:30
Nikhil Bhavikatti
e9a09b4dd0 Fix for stack buffer overflow in MPS module 2023-02-15 13:37:53 +05:30
tripti-tiwari
1da0b13025
Merge pull request #24 from ittiam-systems/cmake
CMake support for Platforms and Fuzzer
2023-02-10 10:05:28 +05:30
Jyothi Swaroop Kumar Nallapaneni
03c53b0e08 CMake support for Platforms and Fuzzer 2023-02-09 12:22:18 +05:30
tripti-tiwari
198345e43d
Merge pull request #22 from ittiam-systems/eldv2_bug_fix
Bug fix in ELDv2 module
2023-02-08 16:28:06 +05:30
Nikhil Bhavikatti
b765b0324b Bug fix in ELDv2 module 2023-02-08 08:56:35 +05:30
tripti-tiwari
1f5d58a368
Merge pull request #21 from ittiam-systems/mps_fuzzer_fixes
MPS Fuzzer fixes
2023-02-01 19:12:32 +05:30