aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-01Snap for 7510676 from 4907264bdcc3da0477bb5648e55c07705e2793ba to sc-releaseandroid-vts-12.0_r9android-vts-12.0_r8android-vts-12.0_r7android-vts-12.0_r6android-vts-12.0_r5android-vts-12.0_r4android-vts-12.0_r3android-vts-12.0_r2android-vts-12.0_r12android-vts-12.0_r11android-vts-12.0_r10android-vts-12.0_r1android-security-12.0.0_r60android-security-12.0.0_r59android-security-12.0.0_r58android-security-12.0.0_r57android-security-12.0.0_r56android-security-12.0.0_r55android-security-12.0.0_r54android-security-12.0.0_r53android-security-12.0.0_r52android-security-12.0.0_r51android-security-12.0.0_r50android-security-12.0.0_r49android-security-12.0.0_r48android-security-12.0.0_r47android-security-12.0.0_r46android-security-12.0.0_r45android-security-12.0.0_r44android-security-12.0.0_r43android-security-12.0.0_r42android-security-12.0.0_r41android-security-12.0.0_r40android-security-12.0.0_r39android-security-12.0.0_r38android-security-12.0.0_r37android-security-12.0.0_r36android-security-12.0.0_r35android-security-12.0.0_r34android-security-11.0.0_r71android-platform-12.0.0_r9android-platform-12.0.0_r8android-platform-12.0.0_r7android-platform-12.0.0_r6android-platform-12.0.0_r5android-platform-12.0.0_r4android-platform-12.0.0_r32android-platform-12.0.0_r31android-platform-12.0.0_r30android-platform-12.0.0_r3android-platform-12.0.0_r29android-platform-12.0.0_r28android-platform-12.0.0_r27android-platform-12.0.0_r26android-platform-12.0.0_r25android-platform-12.0.0_r24android-platform-12.0.0_r23android-platform-12.0.0_r22android-platform-12.0.0_r21android-platform-12.0.0_r20android-platform-12.0.0_r2android-platform-12.0.0_r19android-platform-12.0.0_r18android-platform-12.0.0_r17android-platform-12.0.0_r16android-platform-12.0.0_r15android-platform-12.0.0_r14android-platform-12.0.0_r13android-platform-12.0.0_r12android-platform-12.0.0_r11android-platform-12.0.0_r10android-platform-12.0.0_r1android-cts-12.0_r9android-cts-12.0_r8android-cts-12.0_r7android-cts-12.0_r6android-cts-12.0_r5android-cts-12.0_r4android-cts-12.0_r3android-cts-12.0_r2android-cts-12.0_r12android-cts-12.0_r11android-cts-12.0_r10android-cts-12.0_r1android-12.0.0_r9android-12.0.0_r8android-12.0.0_r34android-12.0.0_r33android-12.0.0_r31android-12.0.0_r30android-12.0.0_r3android-12.0.0_r25android-12.0.0_r2android-12.0.0_r11android-12.0.0_r10android-12.0.0_r1android12-tests-releaseandroid12-security-releaseandroid12-s5-releaseandroid12-s4-releaseandroid12-s3-releaseandroid12-s2-releaseandroid12-s1-releaseandroid12-releaseandroid12-platform-releaseAndroid Build Coastguard Worker
Change-Id: I41395af0b004ec2614936b4f0fe6808e008b3c43
2021-06-25Check for integer overflow in cppbor::parseRecursively.android-12.0.0_r32android-12.0.0_r29android-12.0.0_r28android-12.0.0_r27android-12.0.0_r26android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android-12.0.0_r16android12-qpr1-releaseandroid12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseandroid12-devShawn Willden
Bug: 191303307 Test: Fuzzer from bug Change-Id: I98830ec1bd77f152266f35a585d286be13a2551b
2021-04-22Snap for 7302914 from 2b7033bfad85c9b942411fe23e3231dad7c94c98 to sc-releaseandroid-build-team Robot
Change-Id: Ifbeb33f4245b598b02fb15f9dc738df0a941cd6c
2021-04-21Merge "Remove CONTRIBUTING.md" am: 8f773c2103 am: 850761c661 am: ebb61a2708Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1670288 Change-Id: I501f267ae724235023bae64ea7936f1dcdf1e901
2021-04-21Merge "Remove CONTRIBUTING.md" am: 8f773c2103 am: 850761c661Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1670288 Change-Id: I187374c138a0124ffd5efac3ad3dd558136bab66
2021-04-21Merge "Remove CONTRIBUTING.md" am: 8f773c2103Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1670288 Change-Id: I3e6410ec4e3dfddf1c8d00241c175ad6307f39df
2021-04-21Merge "Remove CONTRIBUTING.md"android-s-beta-2android-s-beta-1Treehugger Robot
2021-04-16Snap for 7286185 from 49c1162f4fb9f7eeb34aedff3702774218f6c2e1 to sc-releaseandroid-build-team Robot
Change-Id: I5fa6d4f13e542d0ce249b6ea926b33c9f25c843b
2021-04-15Fix integer cast in handleNint am: a7ca25a181 am: 33060560da am: 02e6c572b9Andrei Homescu
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1663840 Change-Id: I10b3f39467e855be7fcdf0be9a1006962a2580bf
2021-04-15Fix integer cast in handleNint am: a7ca25a181 am: 33060560daAndrei Homescu
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1663840 Change-Id: I393f03676542a63b9d0cb3d34b85ad5dc0b60e3d
2021-04-15Fix integer cast in handleNint am: a7ca25a181Andrei Homescu
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1663840 Change-Id: I8e27a73ec953c0db8a44fbff11c5dc81b26e11b0
2021-04-09Fix integer cast in handleNintAndrei Homescu
This fixes an incorrect integer cast in the handleNint function in cppbor_parse.cpp which would trigger UBSAN failures in the Trusty apploader. Change-Id: Id35865e524c9837d907fe352feac783b3f7f36b0
2021-04-10Snap for 7272808 from 4152281d79402e7b3be7ecf813a79a9d5435c6c0 to sc-releaseandroid-build-team Robot
Change-Id: I1fb9153cb779067976edb5441288be57c44e4d6d
2021-04-09Make const overloads available in sub-classes. am: f3e77b2781 am: 05f22c3841 ↵Max Bires
am: 079f406f9f Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1670287 Change-Id: I63f44e5294f2a799d12a9aa2ee6120f6361864f6
2021-04-08Make const overloads available in sub-classes. am: f3e77b2781 am: 05f22c3841Max Bires
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1670287 Change-Id: I331cd866b2abb1b9cbe3021d40be5a798691c2d7
2021-04-08Make const overloads available in sub-classes. am: f3e77b2781Max Bires
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1670287 Change-Id: I817c04110708942a2977487603f852f949160529
2021-04-08Remove CONTRIBUTING.mdMax Bires
AOSP is the upstream source for this library. Test: Purple is a good color for a bike shed. Change-Id: I6be4c7ec47b15cc5fbed8091555613ef22623c28
2021-04-08Make const overloads available in sub-classes.Max Bires
Due to the overloading behavior in sub-classes, access to the methods returning const types in Item were not accessible from the Item subclasses. This change adds the using statements necessary to fix that. Test: cd hardware/interfaces/identity && mm -j48 Change-Id: I40bff6470c5fecfb308fec527540a8fbf1abf91a
2021-04-02Snap for 7253016 from 866760dc5ad995c8addfb767acece1d99a2d003d to sc-releaseandroid-build-team Robot
Change-Id: If636819128cef1d32bbadff5a262ab585a31938b
2021-04-01Error on unknown simple value am: bdc577b46b am: 07613905aa am: 09e3750c14Andrew Scull
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1658065 Change-Id: Ifad4b06d9fa793eb17df193ec39497a1f9ccad30
2021-04-01Reject reserved values and indefinite lengths am: 42a7aa8fbf am: f816fae5dd ↵Andrew Scull
am: 57bba0cf18 Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1658064 Change-Id: I5433de3cbb5e69797f3f768c0a7436dbb66c0c79
2021-04-01Error on unknown simple value am: bdc577b46b am: 07613905aaAndrew Scull
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1658065 Change-Id: Ib0c56ae07f6d6958df227d8978f7eee1aa6a6cbf
2021-04-01Reject reserved values and indefinite lengths am: 42a7aa8fbf am: f816fae5ddAndrew Scull
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1658064 Change-Id: I4992142bb192776d9cacf5617084470b47c37ddd
2021-04-01Error on unknown simple value am: bdc577b46bAndrew Scull
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1658065 Change-Id: I382cf2f91896465db2fbdc67e7d6afb4ee51bf61
2021-04-01Reject reserved values and indefinite lengths am: 42a7aa8fbfAndrew Scull
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1658064 Change-Id: I643cd7fc1fa0f5e7430adabc73b7a2536d14bf0f
2021-03-30Error on unknown simple valueAndrew Scull
Null, true and false are handled but any other simple value, or floating pointer value, would otherwise reach the CHECK() that was expected to be unreachable. Instead, error when an unhandled value is seen. Test: cppbor_host_test_external Change-Id: Idb1099bbc51649e5eb8f5fb4fa60553e8cbe7e8f
2021-03-30Reject reserved values and indefinite lengthsAndrew Scull
RFC 8949 defines additional information values 28, 29, 30 and 31 as either reserved or indicating indefinite length values. Reject all of these. Test: cppbor_host_test_external Change-Id: Ic9ae7630c8f75d060e4199d375c1f696699a4f66
2021-03-27Snap for 7239224 from 09ba61cedc0fadf59832e4d2be7858d4b4466aab to sc-releaseandroid-build-team Robot
Change-Id: Ie2d333824c24521c1a50c1d78d7e573433bce693
2021-03-25Add view items for zero-copy parsing of CBOR strings am: 4d171a791a am: ↵Andrei Homescu
decff6ea66 am: 7da24633c1 Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1588192 Change-Id: I95db2120fe0bc1c98b27a914bbe1193d6062d775
2021-03-25Add view items for zero-copy parsing of CBOR strings am: 4d171a791a am: ↵Andrei Homescu
decff6ea66 Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1588192 Change-Id: I86db18f07d7f04acc13f87d75006fc7558f8a544
2021-03-25Add view items for zero-copy parsing of CBOR strings am: 4d171a791aAndrei Homescu
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1588192 Change-Id: I97ebf04460b75af783b1759a8e5816bc198cf321
2021-03-11Add view items for zero-copy parsing of CBOR stringsAndrei Homescu
This CL adds two new ViewTstr and ViewBstr Item types that hold strings as string_view and basic_string_view<uint8_t> types instead of std::string or std::vector<uint8_t>, respectively. This allows for zero-copy parsing of CBOR (mainly strings), which is useful in low-memory environments like the apploader where CBOR data can contain large bstr values. Bug: 115420908 Test: cppbor_host_test_external Change-Id: I69322f0de258e3583cbd842ce240398504a1973f
2021-02-21Snap for 7160059 from 2fd28c9d366ff015e33a2ce746d70cc9e771eb8a to sc-releaseandroid-build-team Robot
Change-Id: Iaf64cbdffc11c43fd56692ca1e9c5d8256cfdbe3
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: ad80fb83f5 -s ↵Xin Li
ours am: 2fd1541001 -s ours am skip reason: Change-Id Iaa423f28a08a8b8619ceff179b69b7d102a596ce with SHA-1 c285326084 is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I19b81335d4263ca4d5ced139f51afd61c8327df5
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: ad80fb83f5 -s oursXin Li
am skip reason: Change-Id Iaa423f28a08a8b8619ceff179b69b7d102a596ce with SHA-1 c285326084 is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I8ea3da8ba7194bb4e8391b9542a1f3b02d094478
2021-02-20Mark ab/7061308 as merged in stage.Xin Li
Bug: 180401296 Merged-In: Iaa423f28a08a8b8619ceff179b69b7d102a596ce Change-Id: I6a852dd1175a92e556ba415cf48822ae6ab607eb
2021-02-18Snap for 7152399 from ce8efdeb75ee62abc3c917114633002c202e2337 to sc-releaseandroid-build-team Robot
Change-Id: I0ef2e0f9345430e2698ec1e3858aa256d1933666
2021-02-17[LSC] Add LOCAL_LICENSE_KINDS to external/libcppbor am: 382930dc90 am: ↵Bob Badour
eb3be5a339 am: d9c666acbe Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1588871 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I57406a64386c65991f502bbcf44821e375b0c363
2021-02-17[LSC] Add LOCAL_LICENSE_KINDS to external/libcppbor am: 382930dc90 am: ↵Bob Badour
eb3be5a339 Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1588871 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I715eebf247da2adadd0e0055e08c042012bdafd9
2021-02-17[LSC] Add LOCAL_LICENSE_KINDS to external/libcppbor am: 382930dc90Bob Badour
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1588871 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I68b59e51881ce2565f9791ee5d9ce6ab845704fc
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to external/libcppborandroid-s-preview-1Bob Badour
Added SPDX-license-identifier-Apache-2.0 to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Iaf70ec58fa73969cf9d7baeac57f56d745475e40
2020-12-17Snap for 7037824 from b1e83192151240f0b38039c96db1e4c2318fed0f to sc-releaseandroid-build-team Robot
Change-Id: Ia5ee892dae5fd631a7f16b6485d67b4781650291
2020-12-16Change semantic tagging. am: 315d859ec4 am: 01589c6c88 am: c285326084Shawn Willden
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1515385 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I9d7b8d5850ea9d48126643d7e1a77344f859e6e1
2020-12-16Change semantic tagging. am: 315d859ec4 am: 01589c6c88Shawn Willden
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1515385 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Iaa423f28a08a8b8619ceff179b69b7d102a596ce
2020-12-16Change semantic tagging. am: 315d859ec4Shawn Willden
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1515385 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ic98c01b5918eda13e21f0ff8d5343f98d5286914
2020-12-16Snap for 7035473 from 4b1ec2b43b6f92c79d0a48b98fe90697d8549aa1 to sc-releaseandroid-build-team Robot
Change-Id: Icd01eb5db92f42f2ed6a62b6954630ed648a6797
2020-12-15Remove downcastItem<> am: f79067125c am: 7aa436b8ca am: b6b24c2ab8Shawn Willden
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1515384 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ia6ef3af33c73065b3f82864e400b222d85cf26b8
2020-12-15Improve Map canonicalization and add Map iterators. am: 03990c2489 am: ↵Shawn Willden
be17dfffad am: cb173a1f06 Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1515383 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ibd29b6884faa5bd1b7d77d272c51a27405975846
2020-12-14Remove downcastItem<> am: f79067125c am: 7aa436b8caShawn Willden
Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1515384 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Icb8f251953eac9e5d58d9231e2c00fe76522abfa
2020-12-14Improve Map canonicalization and add Map iterators. am: 03990c2489 am: ↵Shawn Willden
be17dfffad Original change: https://android-review.googlesource.com/c/platform/external/libcppbor/+/1515383 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I92a8bb0aae2636ceacc214160d1a7b4079064a65