1
0
mirror of https://github.com/mstorsjo/fdk-aac.git synced 2025-02-13 18:00:44 +01:00

222 Commits

Author SHA1 Message Date
Jean-Michel Trivi
288f5156d9 DO NOT MERGE Prevent out of bound memory access in GetInvInt am: 3b6a14a1e0 am: a1deac7b1a am: bceba8dd97 -s ours am: 7f986a4b77 am: c4c35bf021 am: a855a490fc
am: 28ee25cb80  -s ours

Change-Id: I1becb87ac64d660588034d2374f87bca373234ee
2017-11-03 19:31:58 +00:00
Jean-Michel Trivi
28ee25cb80 DO NOT MERGE Prevent out of bound memory access in GetInvInt am: 3b6a14a1e0 am: a1deac7b1a am: bceba8dd97 -s ours am: 7f986a4b77 am: c4c35bf021
am: a855a490fc

Change-Id: Id9ffa8a5e18ee4e1ec874d3692582928d5ebd183
2017-11-03 19:29:36 +00:00
Jean-Michel Trivi
a855a490fc DO NOT MERGE Prevent out of bound memory access in GetInvInt am: 3b6a14a1e0 am: a1deac7b1a am: bceba8dd97 -s ours am: 7f986a4b77
am: c4c35bf021

Change-Id: Ia7e3c1b7708409ff9e57a31a1e6fffabfab80d97
2017-11-03 19:26:36 +00:00
Jean-Michel Trivi
ee8819e273 DO NOT MERGE Prevent out of bound memory access in GetInvInt am: 0d54662fe8 -s ours am: 139ba15904 am: 14713b88c7 am: 137b3cc828
am: 625c6dab5f  -s ours

Change-Id: I20d1ddf072abefb3f4d7d26378f09795606b4d3b
2017-11-03 19:26:35 +00:00
Jean-Michel Trivi
625c6dab5f DO NOT MERGE Prevent out of bound memory access in GetInvInt am: 0d54662fe8 -s ours am: 139ba15904 am: 14713b88c7
am: 137b3cc828

Change-Id: If27532d528784089a514063b1e71a5b63c94b59e
2017-11-03 19:25:12 +00:00
Jean-Michel Trivi
9731a1be31 DO NOT MERGE Prevent out of bound memory access in GetInvInt am: 5ce724f1dd am: e64c501013 am: 4d9b54962d
am: 49a1aedd74  -s ours

Change-Id: I36cb8ee144a9d7edebb4c39267b231641166af57
2017-11-03 19:24:35 +00:00
Jean-Michel Trivi
c4c35bf021 DO NOT MERGE Prevent out of bound memory access in GetInvInt am: 3b6a14a1e0 am: a1deac7b1a am: bceba8dd97 -s ours
am: 7f986a4b77

Change-Id: I51c9e1f99d9d22933c479460364ab204c79e167e
2017-11-03 19:23:35 +00:00
Jean-Michel Trivi
7f986a4b77 DO NOT MERGE Prevent out of bound memory access in GetInvInt am: 3b6a14a1e0 am: a1deac7b1a
am: bceba8dd97  -s ours

Change-Id: I1c7b0d98c7dc985852863c3466ad98df394c750e
2017-11-03 19:21:04 +00:00
Jean-Michel Trivi
137b3cc828 DO NOT MERGE Prevent out of bound memory access in GetInvInt am: 0d54662fe8 -s ours am: 139ba15904
am: 14713b88c7

Change-Id: I987a2aa5b448960dd505c3c9641156680504cfe4
2017-11-03 19:19:39 +00:00
Jean-Michel Trivi
49a1aedd74 DO NOT MERGE Prevent out of bound memory access in GetInvInt am: 5ce724f1dd am: e64c501013
am: 4d9b54962d

Change-Id: Ia4f17550e5738a3afb1e6b26d2930c8cd63ef66c
2017-11-03 19:19:35 +00:00
Jean-Michel Trivi
bceba8dd97 DO NOT MERGE Prevent out of bound memory access in GetInvInt am: 3b6a14a1e0
am: a1deac7b1a

Change-Id: Icdb0255365260129f6c1ce8cb8a323d87015cf87
2017-11-03 19:17:35 +00:00
Jean-Michel Trivi
14713b88c7 DO NOT MERGE Prevent out of bound memory access in GetInvInt am: 0d54662fe8 -s ours
am: 139ba15904

Change-Id: I7a777c6727e583ea52008aad6da40db3b7151732
2017-11-03 19:17:34 +00:00
Jean-Michel Trivi
4d9b54962d DO NOT MERGE Prevent out of bound memory access in GetInvInt am: 5ce724f1dd
am: e64c501013

Change-Id: I08487bbe7415689ac5976b73e10b6caae8b48e15
2017-11-03 19:14:05 +00:00
Jean-Michel Trivi
23ee0f0ee2 DO NOT MERGE Prevent out of bound memory access in GetInvInt am: 9fb4261c43
am: f6100335b8  -s ours

Change-Id: Iad0be22f13e2bc9f126edb5abea37b0446ea6e68
2017-11-03 19:14:04 +00:00
Jean-Michel Trivi
139ba15904 DO NOT MERGE Prevent out of bound memory access in GetInvInt
am: 0d54662fe8  -s ours

Change-Id: I192e79af896606e8d5d17f63e0883f2069be1a12
2017-11-03 19:14:04 +00:00
Jean-Michel Trivi
a1deac7b1a DO NOT MERGE Prevent out of bound memory access in GetInvInt
am: 3b6a14a1e0

Change-Id: Id527e5320a362042ef0c65329082a369687e9db7
2017-11-03 19:13:34 +00:00
Jean-Michel Trivi
f6100335b8 DO NOT MERGE Prevent out of bound memory access in GetInvInt
am: 9fb4261c43

Change-Id: If0378d7935b9f651f7096eee8916d4f83889a629
2017-11-03 19:10:04 +00:00
Jean-Michel Trivi
e64c501013 DO NOT MERGE Prevent out of bound memory access in GetInvInt
am: 5ce724f1dd

Change-Id: I3b88b500ce26106a277ce6604c6d513bac4a7085
2017-11-03 19:10:04 +00:00
Jean-Michel Trivi
9fb4261c43 DO NOT MERGE Prevent out of bound memory access in GetInvInt
In GetInvInt(int) function, malicious content can access memory
 outside of the invCount array. Always bound access to valid
 indices.

Test: see bug for malicious content, decoded with "stagefright -s -a"
Bug: 65025048
Change-Id: I92d4a14519f45d5a329d7f69f21f2aef0a8c6daa
2017-11-02 19:18:56 +00:00
Jean-Michel Trivi
5ce724f1dd DO NOT MERGE Prevent out of bound memory access in GetInvInt
In GetInvInt(int) function, malicious content can access memory
 outside of the invCount array. Always bound access to valid
 indices.

Test: see bug for malicious content, decoded with "stagefright -s -a"
Bug: 65025048
Change-Id: I92d4a14519f45d5a329d7f69f21f2aef0a8c6daa
2017-11-02 18:55:37 +00:00
Jean-Michel Trivi
0d54662fe8 DO NOT MERGE Prevent out of bound memory access in GetInvInt
In GetInvInt(int) function, malicious content can access memory
 outside of the invCount array. Always bound access to valid
 indices.

Test: see bug for malicious content, decoded with "stagefright -s -a"
Bug: 65025048
Change-Id: I92d4a14519f45d5a329d7f69f21f2aef0a8c6daa
2017-11-02 18:54:15 +00:00
Jean-Michel Trivi
3b6a14a1e0 DO NOT MERGE Prevent out of bound memory access in GetInvInt
In GetInvInt(int) function, malicious content can access memory
 outside of the invCount array. Always bound access to valid
 indices.

Test: see bug for malicious content, decoded with "stagefright -s -a"
Bug: 65025048
Change-Id: I92d4a14519f45d5a329d7f69f21f2aef0a8c6daa
2017-11-02 18:52:41 +00:00
Chih-Hung Hsieh
15759ceb7b Merge "Use -Werror in external/aac" am: f38aee2252 am: 82440fab16 am: 5a1868a64f
am: 858c2a7c6e

Change-Id: I34b525da95c712354d0e4c4d72f7d7ef89ff2ba9
2017-10-07 00:55:09 +00:00
Chih-Hung Hsieh
858c2a7c6e Merge "Use -Werror in external/aac" am: f38aee2252 am: 82440fab16
am: 5a1868a64f

Change-Id: I4beb4b05f00077e1c7cbcc5ae197001c6251af09
2017-10-07 00:50:14 +00:00
Chih-Hung Hsieh
5a1868a64f Merge "Use -Werror in external/aac" am: f38aee2252
am: 82440fab16

Change-Id: I3cee76ab540b54b4ef6d6bdb891fc53fd0ec562d
2017-10-07 00:47:44 +00:00
Chih-Hung Hsieh
82440fab16 Merge "Use -Werror in external/aac"
am: f38aee2252

Change-Id: I65c18c6eb45de16da43e862068929e9a9695caf7
2017-10-07 00:45:22 +00:00
Treehugger Robot
f38aee2252 Merge "Use -Werror in external/aac" 2017-10-07 00:39:23 +00:00
Chih-Hung Hsieh
3e8a17c1c1 Use -Werror in external/aac
Bug: 66996870
Test: build with WITH_TIDY=1
Exempt-From-Owner-Approval: Colin +2 should be the owner approval
Change-Id: I167f73ee9dc5e977fd6976f48732ae1e1fe13c8b
2017-10-06 21:52:25 +00:00
Jiyong Park
b185a1b5ae Make software codecs as VNDK am: a4aa860efb
am: 82b9d6795a

Change-Id: Ib0071dca66a511ab13b358eafd9d951d6249879b
2017-08-10 02:48:42 +00:00
Jiyong Park
82b9d6795a Make software codecs as VNDK
am: a4aa860efb

Change-Id: I662a0675e67bd421b2b3c02391c25cf38f39d84f
2017-08-10 01:18:58 +00:00
Jiyong Park
a4aa860efb Make software codecs as VNDK
Software codecs and their dependencies are marked as VNDK (or just
vendor_available:true for static/header libs).

Bug: 37343418
Test: build the software codecs with BOARD_VNDK_VERSION=current

Change-Id: I9ecedb5a95abc9978ff7ed3538bd2dedec750c7d
2017-08-07 13:12:12 +09:00
Chih-Hung Hsieh
afe3b88936 Merge "Add OWNERS in external/aac" am: db59691026 am: 6f8a59ff40 am: e10e3d33cf
am: 32b8bd3dc9

Change-Id: Icbfbce61951a55c3cfa106bdf0bb7f84da2ca453
2017-06-05 19:47:38 +00:00
Chih-Hung Hsieh
32b8bd3dc9 Merge "Add OWNERS in external/aac" am: db59691026 am: 6f8a59ff40
am: e10e3d33cf

Change-Id: I3b51a11cc119ebc35aab051c21133a1476db5a0a
2017-06-05 19:40:31 +00:00
Chih-Hung Hsieh
e10e3d33cf Merge "Add OWNERS in external/aac" am: db59691026
am: 6f8a59ff40

Change-Id: I236f2028ad5ae6e14ee0655456d4d42b785bdc45
2017-06-05 19:35:00 +00:00
Chih-Hung Hsieh
6f8a59ff40 Merge "Add OWNERS in external/aac"
am: db59691026

Change-Id: Id365d26e05abceec99ddac2e727483d4b294d63d
2017-06-05 19:30:30 +00:00
Treehugger Robot
db59691026 Merge "Add OWNERS in external/aac" 2017-06-05 19:19:38 +00:00
Chih-Hung Hsieh
86e949c076 Add OWNERS in external/aac
Owners are selected from top CL approvals or owners.
They will be suggested to review/approve future CLs.

Test: build/make/tools/checkowners.py -c -v OWNERS
Change-Id: Iacb2e068189b39030a218b6496ca41a0bd4ce7d2
2017-06-05 10:10:15 -07:00
liuchao
47dd0b4589 Merge "Fix not properly handled NULL-pointer access before check in aac lib" am: b0af861f5a am: b0f6b2906e
am: ef9be61680

Change-Id: Ibfe81134a2089946800580538775faaa1bbe00ef
2017-02-23 21:50:11 +00:00
liuchao
ef9be61680 Merge "Fix not properly handled NULL-pointer access before check in aac lib" am: b0af861f5a
am: b0f6b2906e

Change-Id: I06232a0b0126349e7d4cffff0d9c1eac90eddbb2
2017-02-23 21:48:07 +00:00
liuchao
b0f6b2906e Merge "Fix not properly handled NULL-pointer access before check in aac lib"
am: b0af861f5a

Change-Id: Id59fd9de48f99c572fa964d7e60b57312edadece
2017-02-23 21:45:43 +00:00
Treehugger Robot
b0af861f5a Merge "Fix not properly handled NULL-pointer access before check in aac lib" 2017-02-23 21:25:44 +00:00
liuchao
64bd48e21b Fix not properly handled NULL-pointer access before check in aac lib
1) Fixes some potential NULL-pointer access in case input pointer is
passed NULL
2) Modified some for lazy init

Test: mm -j 8
Change-Id: I7fca97e1d9f70d8e8c1533b519181af35a5468f7
2017-02-23 14:22:01 +08:00
Jakub Pawlowski
30fa0b87e9 Merge "Linux compilation fix" am: b82c85d0b1 am: 7c8dd3bb93
am: f4bd5f6bd4

Change-Id: I4f054be1c1342296c69748c2e616b07c7bd9401c
2017-02-21 20:58:55 +00:00
Jakub Pawlowski
f4bd5f6bd4 Merge "Linux compilation fix" am: b82c85d0b1
am: 7c8dd3bb93

Change-Id: Ifba0bf717a42c3889ea686d1f46cd0758e61851e
2017-02-21 20:56:55 +00:00
Jakub Pawlowski
7c8dd3bb93 Merge "Linux compilation fix"
am: b82c85d0b1

Change-Id: I934d6c1b7011453b71c28c9ec64da3f3af865782
2017-02-21 20:53:55 +00:00
Treehugger Robot
b82c85d0b1 Merge "Linux compilation fix" 2017-02-21 20:48:23 +00:00
Jakub Pawlowski
2cd9fe3964 Linux compilation fix
Test: manual
Change-Id: Ie374e47b93e8fa3a44c731cb73f7e151d265c74c
2017-02-21 10:43:02 -08:00
Pavlin Radoslavov
dfc9132496 Merge "Change build config of aac from Android.mk to Android.bp" am: 8334e4b410 am: 2eba55c5a8 am: 1679274c9c
am: 4910e5a352

Change-Id: I06e73ca6768323110b658548a189a1f69695cc08
2017-01-20 02:35:09 +00:00
Pavlin Radoslavov
4910e5a352 Merge "Change build config of aac from Android.mk to Android.bp" am: 8334e4b410 am: 2eba55c5a8
am: 1679274c9c

Change-Id: I17c2d7f5c558e17fc4b579d879160f4d6a6ce587
2017-01-20 02:19:38 +00:00
Pavlin Radoslavov
1679274c9c Merge "Change build config of aac from Android.mk to Android.bp" am: 8334e4b410
am: 2eba55c5a8

Change-Id: I16c8e041daad6f21dd80ec50db52ae488f1b91c5
2017-01-20 02:11:06 +00:00