1
0
mirror of https://github.com/mstorsjo/fdk-aac.git synced 2025-01-30 23:45:09 +01:00

480 Commits

Author SHA1 Message Date
Jean-Michel Trivi
466adf2a1b Merge "Unsigned Integer Overflow in CAacDecoder_PreRollExtensionPayloadParse()"
am: a5cf260931

Change-Id: Ib3c4c335ef6bbfdccd4db91b03f5f0cdde7705a3
2018-12-26 18:03:27 -08:00
Jean-Michel Trivi
485d02df73 Merge "Improve error robustness in arithmetic decoder"
am: ecdec651da

Change-Id: I8e119ac863c88ba9e341716a48ae2717cffe5ae5
2018-12-26 17:59:55 -08:00
Jean-Michel Trivi
eaad782db3 Merge "Prevent overflow in usac filters"
am: 4053380094

Change-Id: If0b450840199cde16e10e9a7911c7a8d331b7caa
2018-12-26 17:59:40 -08:00
Jean-Michel Trivi
8879fb1fd6 Merge "Signed Integer Overflow in CLpd_FAC_Acelp2Mdct()"
am: 3bb4fe68a6

Change-Id: Ic2b61ea47ab9fd393c0528bc64954412f759c135
2018-12-26 17:59:23 -08:00
Jean-Michel Trivi
a5cf260931 Merge "Unsigned Integer Overflow in CAacDecoder_PreRollExtensionPayloadParse()" 2018-12-27 01:58:50 +00:00
Jean-Michel Trivi
ecdec651da Merge "Improve error robustness in arithmetic decoder" 2018-12-27 01:56:21 +00:00
Jean-Michel Trivi
4053380094 Merge "Prevent overflow in usac filters" 2018-12-27 01:54:49 +00:00
Jean-Michel Trivi
3bb4fe68a6 Merge "Signed Integer Overflow in CLpd_FAC_Acelp2Mdct()" 2018-12-27 01:51:53 +00:00
Jean-Michel Trivi
b471c2c215 Merge "Signed Integer Overflow in E_UTIL_preemph()"
am: aea2558c50

Change-Id: Ic9581dc891f10677dc7be6d4050d24cf57ca4541
2018-12-26 17:02:23 -08:00
Jean-Michel Trivi
86d12efb92 Merge "Fix SATURATE_LEFT_SHIFT_ALT() since it returned 0x80000000 in certain cases"
am: 27894057af

Change-Id: I8b0c317c7eac2ad8590a4c640414c20de448153b
2018-12-26 17:02:06 -08:00
Jean-Michel Trivi
aea2558c50 Merge "Signed Integer Overflow in E_UTIL_preemph()" 2018-12-27 00:57:22 +00:00
Jean-Michel Trivi
27894057af Merge "Fix SATURATE_LEFT_SHIFT_ALT() since it returned 0x80000000 in certain cases" 2018-12-27 00:55:34 +00:00
Fraunhofer IIS FDK
512898b298 Unsigned Integer Overflow in CAacDecoder_PreRollExtensionPayloadParse()
Bug: 112661610
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc
Change-Id: I96e2c10328fec8fd12f9c752904860b87a72bed2
2018-12-26 19:39:27 -05:00
Fraunhofer IIS FDK
48a4bca8b3 Improve error robustness in arithmetic decoder
Bug: 112663564
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc
Change-Id: I3025adbf308bf510dc5bdc1d70c58979fb182187
2018-12-26 19:34:16 -05:00
Fraunhofer IIS FDK
8166502969 Prevent overflow in usac filters
Bug: 112663886
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc
Change-Id: Ie7af65a1a556afb141ea5272f70bfea11881ac30
2018-12-26 19:19:34 -05:00
Fraunhofer IIS FDK
1450575edf Signed Integer Overflow in CLpd_FAC_Acelp2Mdct()
Bug: 112663384
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc
Change-Id: I5e41f1455ab35060c136abb7f4945fe9a545633c
2018-12-26 18:42:14 -05:00
Fraunhofer IIS FDK
9edc5864fa Signed Integer Overflow in E_UTIL_preemph()
Bug: 112661356
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc
Change-Id: Ibc7120aba3d357bfb8d751d80d99a6e0f51473e4
2018-12-26 18:20:17 -05:00
Fraunhofer IIS FDK
edbb4b0a14 Fix SATURATE_LEFT_SHIFT_ALT() since it returned 0x80000000 in certain cases
Bug: 112661911
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc
Change-Id: I16e522c975ad45ff8d47d4cabe44f1f2bf95b73b
2018-12-26 18:17:27 -05:00
Jean-Michel Trivi
24f0dd93fe Merge "UBSAN overflow in FFT"
am: f59fd73d44

Change-Id: I19c7c9e9891fb4b06cb171c4c32e9f9d399bdf1c
2018-12-26 15:00:42 -08:00
Jean-Michel Trivi
11e6511470 Merge "Unsigned Integer Overflow in transportDec_readHeader()."
am: 93e981d1e1

Change-Id: Ie5ec825c876398813882e40f100a6d9d9ddfcc9f
2018-12-26 15:00:30 -08:00
Jean-Michel Trivi
f59fd73d44 Merge "UBSAN overflow in FFT" 2018-12-26 22:57:01 +00:00
Jean-Michel Trivi
0102aec77e Merge "Unsigned Integer Overflow in transportDec_AdjustEndOfAccessUnit()."
am: 7f3b4de053

Change-Id: I129ac675f560590ff1a082cc701a77ae173da707
2018-12-26 14:56:29 -08:00
Jean-Michel Trivi
93e981d1e1 Merge "Unsigned Integer Overflow in transportDec_readHeader()." 2018-12-26 22:54:00 +00:00
Jean-Michel Trivi
7f3b4de053 Merge "Unsigned Integer Overflow in transportDec_AdjustEndOfAccessUnit()." 2018-12-26 22:51:50 +00:00
Fraunhofer IIS FDK
bef1b4dd96 UBSAN overflow in FFT
An overflow in the fft was observed for certain configurations. The root cause was in the scaling of the fft input data in dct_IV and dst_IV.
The following patch revises the scaling in dct and removes the unused arm implementation.

Bug: 112661057
Bug: 109936783
Bug: 112022208
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc
Change-Id: Idc9c44a9755b8151d5c7d8107696f43ac592413b
2018-12-26 16:09:37 -05:00
Fraunhofer IIS FDK
81933bc6eb Unsigned Integer Overflow in transportDec_readHeader().
Bug: 112662270
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc
Change-Id: I0beedab38175fc57e5bd9eb5700a3850ef2bebf7
2018-12-26 15:35:51 -05:00
Jean-Michel Trivi
d200c4e938 Merge "Unsigned Integer Overflows in mpegSurroundDecoder_Parse()."
am: e8b5674a5f

Change-Id: I4bb66aafb39f6d7321c2fa3f1fcc0fec0432ff26
2018-12-26 12:12:30 -08:00
Jean-Michel Trivi
e8b5674a5f Merge "Unsigned Integer Overflows in mpegSurroundDecoder_Parse()." 2018-12-26 20:05:14 +00:00
Fraunhofer IIS FDK
71602ad45c Unsigned Integer Overflow in transportDec_AdjustEndOfAccessUnit().
Bug: 112661348
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc
Change-Id: Ie4924460d30ea4ef76917704ded809d04db78993
2018-12-26 14:28:35 -05:00
Fraunhofer IIS FDK
bfa96f60bc Unsigned Integer Overflows in mpegSurroundDecoder_Parse().
Bug: 112661835
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc
Change-Id: I3714e88d7a9a866297bb2e93571804665a97773f
2018-12-26 14:01:46 -05:00
Xin Li
fc69d85bd4 [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master"
am: c75797cfaa  -s ours

Change-Id: I81e116dfec84898030729c4382a0bdeb159b66d5
2018-12-13 12:29:17 -08:00
Xin Li
1fdfa469a6 [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master
am: 20c336953f  -s ours

Change-Id: I0691ef7387fc3f13728a566f7eeae820ec64b14e
2018-12-13 11:14:51 -08:00
Treehugger Robot
c75797cfaa Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master" 2018-12-13 05:45:20 +00:00
Ivan Lozano
c03a49ab12 Merge "Enable bounds sanitization in libaac."
am: cdaf85d874

Change-Id: I4c805903ac803973b79dbb8e43a662a697cb42fe
2018-12-12 13:13:29 -08:00
Treehugger Robot
cdaf85d874 Merge "Enable bounds sanitization in libaac." 2018-12-12 21:07:25 +00:00
Xin Li
20c336953f DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master
Bug: 120502534
Change-Id: Ie44ac2dc553c40a8a9bd9b42b00a0b01cfa9799a
2018-12-11 13:59:07 -08:00
Xin Li
b857efbb10 DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into stage-aosp-master
Bug: 120502534
Change-Id: I4c81feb609ac0590877ce923099d3ae63577857d
2018-12-11 20:26:37 +00:00
Ivan Lozano
26a9da724f Enable bounds sanitization in libaac.
Enables the UBSan bounds sanitizer in libaac. This adds bounds checks
around array accesses when the array size is known at compile time.

Bug: 117221610
Test: make -j
Test: Device boots.
Change-Id: Ib820c7ec6ef6bcbf98d8526ed213c90ab29169c2
2018-12-11 09:18:14 -08:00
Bill Rassieur
33acbd97b6 Merge PQ1A.181205.006 from Pi-QPR1-Release into ToT for Pi-Platform release.\n\nBUG: 120448245
Change-Id: I1d3ce7e7d198f3256d3ecbd932f8d6f9977ba16d
2018-12-04 16:59:15 +00:00
Fraunhofer IIS FDK
6e4fe2e06b Merge "Integer overflow fix in InvMdctTransformLowDelay_fdk()"
am: d2be744af2

Change-Id: I780b6c3791bd9bc70fa11a6990cb95a2e5d5ae7c
2018-11-29 10:56:23 -08:00
Treehugger Robot
d2be744af2 Merge "Integer overflow fix in InvMdctTransformLowDelay_fdk()" 2018-11-29 18:43:33 +00:00
Bill Yi
a342c8b68c Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-release
Change-Id: If3ff263d4f628f2c6d4ad3c28d0571284ca1f56d
2018-11-28 18:34:17 -08:00
Fraunhofer IIS FDK
24648cbd4f Integer overflow fix in InvMdctTransformLowDelay_fdk()
Bug: 112892194
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc

Change-Id: I47fdb5b51afd8c588607bf206d4ae3ef4ba1cdb3
2018-11-28 18:09:43 -05:00
Fraunhofer IIS FDK
9cfaf0cd45 Merge "Add sanity check for allowed LPD sampling rate."
am: b8a384b0cd

Change-Id: Iedcbbbee9ffc6b27cbc2f114b110974320f9044b
2018-11-28 13:35:05 -08:00
Treehugger Robot
b8a384b0cd Merge "Add sanity check for allowed LPD sampling rate." 2018-11-28 21:21:41 +00:00
Fraunhofer IIS FDK
c6b4af4a6c Add sanity check for allowed LPD sampling rate.
Bug: 112662981
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc

Change-Id: I0702024adc07ed463db795dd48f4efd3de1d7896
Merged-In: Idc9c44a9755b8151d5c7d8107696f43ac592413b
2018-11-28 19:15:09 +00:00
Fraunhofer IIS FDK
36b3869e2c Merge "Unsigned Integer Overflow in SpatialDecParseSpecificConfigHeader()."
am: 0695cff3dd

Change-Id: I053e082c034f33ef79aa42afc0e7bf04f6454cc2
2018-11-27 12:38:58 -08:00
Treehugger Robot
0695cff3dd Merge "Unsigned Integer Overflow in SpatialDecParseSpecificConfigHeader()." 2018-11-27 20:26:33 +00:00
Fraunhofer IIS FDK
c580437d7c Merge "Unsigned Integer Overflow in aacDecoder_DecodeFrame()."
am: 0a1e3b6ef9

Change-Id: I2469e802965d3d974ca09a8c911d0d26f09e6700
2018-11-27 11:04:20 -08:00
Treehugger Robot
0a1e3b6ef9 Merge "Unsigned Integer Overflow in aacDecoder_DecodeFrame()." 2018-11-27 18:44:28 +00:00