Commit Graph

525 Commits

Author SHA1 Message Date
Jean-Michel Trivi f69ca4c614 Merge "Signed Integer Overflow in E_UTIL_preemph()" am: aea2558c50
am: b471c2c215

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

Change-Id: I61e1f526eccf8c6cdf428058ba7b1da4ae2f9a80
2018-12-26 17:06:09 -08: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 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 a8e50fd20e Merge "UBSAN overflow in FFT" am: f59fd73d44
am: 24f0dd93fe

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

Change-Id: I2e93dbf3792b0039d36d882e66007cf251fc15ff
2018-12-26 15:05:37 -08: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 b7f477ae47 Merge "Unsigned Integer Overflow in transportDec_AdjustEndOfAccessUnit()." am: 7f3b4de053
am: 0102aec77e

Change-Id: I6c33cc8803833da107e6ee70b503efd10ba1909e
2018-12-26 15:00:36 -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 c7df2a7de8 Merge "Unsigned Integer Overflows in mpegSurroundDecoder_Parse()." am: e8b5674a5f
am: d200c4e938

Change-Id: I8cb790054357f6c9d81e5b327fabb421d9479ebb
2018-12-26 12:16:29 -08: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 108d0898ea [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master" am: c75797cfaa -s ours
am: fc69d85bd4  -s ours

Change-Id: I139fbb395793d9af0a32dcbf6e07f697f0c7a8b5
2018-12-13 12:45:40 -08: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 c08ee65450 [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master am: 20c336953f -s ours
am: 1fdfa469a6  -s ours

Change-Id: I4224085df6dd07c11fcc0caa42ae1e2e40d8a05e
2018-12-13 12:13:40 -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 2373e71ff8 Merge "Enable bounds sanitization in libaac." am: cdaf85d874
am: c03a49ab12

Change-Id: If2c1b228bb95708f59ef485c6ccc0275d4681a00
2018-12-12 13:17:32 -08: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 3c54bd3b6d [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into stage-aosp-master
am: b857efbb10  -s ours

Change-Id: Id5e78fc0d96a4532c5f7d11721bad1b243767915
2018-12-11 15:01:58 -08: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 69e052a1af Merge "Integer overflow fix in InvMdctTransformLowDelay_fdk()" am: d2be744af2
am: 6e4fe2e06b

Change-Id: Ie017463a9aad54c9b02672c0aa4d1e7f06847427
2018-11-29 11:00:16 -08: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 07ed1f756b Merge "Add sanity check for allowed LPD sampling rate." am: b8a384b0cd
am: 9cfaf0cd45

Change-Id: I0c9952fe8b16ae2e8d4cb80b30d63ba00e172b09
2018-11-28 13:40:48 -08: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 479cc5a6d4 Merge "Unsigned Integer Overflow in SpatialDecParseSpecificConfigHeader()." am: 0695cff3dd
am: 36b3869e2c

Change-Id: I2a7d3a865dce40cbce0c2b345b8f489a8e4a7e3f
2018-11-27 12:47:01 -08: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 3a64e48ede Merge "Unsigned Integer Overflow in aacDecoder_DecodeFrame()." am: 0a1e3b6ef9
am: c580437d7c

Change-Id: Id8f177954c585644d0535a44560fa3923780a764
2018-11-27 11:13:30 -08:00