aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-24[automerger skipped] DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterr_aml_301500702q_tzdata_aml_297100400q_tzdata_aml_297100300q_tzdata_aml_297100000q_tzdata_aml_296200000q_tzdata_aml_295600118q_tzdata_aml_295600110q_tzdata_aml_295500002q_tzdata_aml_295500001q_tzdata_aml_294400310android-vts-11.0_r9android-vts-11.0_r8android-vts-11.0_r7android-vts-11.0_r6android-vts-11.0_r5android-vts-11.0_r4android-vts-11.0_r3android-vts-11.0_r2android-vts-11.0_r16android-vts-11.0_r15android-vts-11.0_r14android-vts-11.0_r13android-vts-11.0_r12android-vts-11.0_r11android-vts-11.0_r10android-vts-11.0_r1android-security-11.0.0_r76android-security-11.0.0_r75android-security-11.0.0_r74android-security-11.0.0_r73android-security-11.0.0_r72android-security-11.0.0_r71android-security-11.0.0_r70android-security-11.0.0_r69android-security-11.0.0_r68android-security-11.0.0_r67android-security-11.0.0_r66android-security-11.0.0_r65android-security-11.0.0_r64android-security-11.0.0_r63android-security-11.0.0_r62android-security-11.0.0_r61android-security-11.0.0_r60android-security-11.0.0_r59android-security-11.0.0_r58android-security-11.0.0_r57android-security-11.0.0_r56android-security-11.0.0_r55android-security-11.0.0_r54android-security-11.0.0_r53android-security-11.0.0_r52android-security-11.0.0_r51android-security-11.0.0_r50android-security-11.0.0_r49android-security-11.0.0_r1android-r-preview-4android-r-preview-3android-r-preview-2android-r-preview-1android-platform-11.0.0_r9android-platform-11.0.0_r8android-platform-11.0.0_r7android-platform-11.0.0_r6android-platform-11.0.0_r5android-platform-11.0.0_r40android-platform-11.0.0_r4android-platform-11.0.0_r39android-platform-11.0.0_r38android-platform-11.0.0_r37android-platform-11.0.0_r36android-platform-11.0.0_r35android-platform-11.0.0_r34android-platform-11.0.0_r33android-platform-11.0.0_r32android-platform-11.0.0_r31android-platform-11.0.0_r30android-platform-11.0.0_r3android-platform-11.0.0_r29android-platform-11.0.0_r28android-platform-11.0.0_r27android-platform-11.0.0_r26android-platform-11.0.0_r25android-platform-11.0.0_r24android-platform-11.0.0_r23android-platform-11.0.0_r22android-platform-11.0.0_r21android-platform-11.0.0_r20android-platform-11.0.0_r2android-platform-11.0.0_r19android-platform-11.0.0_r18android-platform-11.0.0_r17android-platform-11.0.0_r16android-platform-11.0.0_r15android-platform-11.0.0_r14android-platform-11.0.0_r13android-platform-11.0.0_r12android-platform-11.0.0_r11android-platform-11.0.0_r10android-platform-11.0.0_r1android-mainline-12.0.0_r55android-mainline-12.0.0_r54android-mainline-12.0.0_r111android-mainline-11.0.0_r9android-mainline-11.0.0_r8android-mainline-11.0.0_r7android-mainline-11.0.0_r6android-mainline-11.0.0_r5android-mainline-11.0.0_r45android-mainline-11.0.0_r44android-mainline-11.0.0_r43android-mainline-11.0.0_r42android-mainline-11.0.0_r41android-mainline-11.0.0_r40android-mainline-11.0.0_r4android-mainline-11.0.0_r39android-mainline-11.0.0_r38android-mainline-11.0.0_r37android-mainline-11.0.0_r36android-mainline-11.0.0_r35android-mainline-11.0.0_r34android-mainline-11.0.0_r33android-mainline-11.0.0_r32android-mainline-11.0.0_r31android-mainline-11.0.0_r30android-mainline-11.0.0_r3android-mainline-11.0.0_r29android-mainline-11.0.0_r28android-mainline-11.0.0_r27android-mainline-11.0.0_r26android-mainline-11.0.0_r25android-mainline-11.0.0_r24android-mainline-11.0.0_r23android-mainline-11.0.0_r22android-mainline-11.0.0_r21android-mainline-11.0.0_r20android-mainline-11.0.0_r2android-mainline-11.0.0_r19android-mainline-11.0.0_r18android-mainline-11.0.0_r17android-mainline-11.0.0_r16android-mainline-11.0.0_r15android-mainline-11.0.0_r14android-mainline-11.0.0_r13android-mainline-11.0.0_r12android-mainline-11.0.0_r10android-mainline-11.0.0_r1android-mainline-10.0.0_r9android-mainline-10.0.0_r8android-mainline-10.0.0_r7android-mainline-10.0.0_r6android-mainline-10.0.0_r5android-mainline-10.0.0_r4android-mainline-10.0.0_r13android-mainline-10.0.0_r12android-mainline-10.0.0_r11android-mainline-10.0.0_r10android-cts-11.0_r9android-cts-11.0_r8android-cts-11.0_r7android-cts-11.0_r6android-cts-11.0_r5android-cts-11.0_r4android-cts-11.0_r3android-cts-11.0_r2android-cts-11.0_r16android-cts-11.0_r15android-cts-11.0_r14android-cts-11.0_r13android-cts-11.0_r12android-cts-11.0_r11android-cts-11.0_r10android-cts-11.0_r1android-11.0.0_r9android-11.0.0_r8android-11.0.0_r7android-11.0.0_r6android-11.0.0_r5android-11.0.0_r48android-11.0.0_r47android-11.0.0_r46android-11.0.0_r45android-11.0.0_r44android-11.0.0_r43android-11.0.0_r42android-11.0.0_r41android-11.0.0_r40android-11.0.0_r4android-11.0.0_r39android-11.0.0_r38android-11.0.0_r37android-11.0.0_r36android-11.0.0_r35android-11.0.0_r34android-11.0.0_r33android-11.0.0_r32android-11.0.0_r31android-11.0.0_r30android-11.0.0_r3android-11.0.0_r29android-11.0.0_r28android-11.0.0_r27android-11.0.0_r26android-11.0.0_r25android-11.0.0_r24android-11.0.0_r23android-11.0.0_r22android-11.0.0_r21android-11.0.0_r20android-11.0.0_r2android-11.0.0_r19android-11.0.0_r18android-11.0.0_r17android-11.0.0_r16android-11.0.0_r15android-11.0.0_r14android-11.0.0_r13android-11.0.0_r12android-11.0.0_r11android-11.0.0_r10android-11.0.0_r1android-10.0.0_r9android-10.0.0_r8android-10.0.0_r7android-10.0.0_r45android-10.0.0_r44android-10.0.0_r43android-10.0.0_r42android-10.0.0_r41android-10.0.0_r40android-10.0.0_r39android-10.0.0_r38android-10.0.0_r37android-10.0.0_r36android-10.0.0_r35android-10.0.0_r34android-10.0.0_r33android-10.0.0_r32android-10.0.0_r31android-10.0.0_r30android-10.0.0_r29android-10.0.0_r28android-10.0.0_r27android-10.0.0_r26android-10.0.0_r25android-10.0.0_r24android-10.0.0_r23android-10.0.0_r22android-10.0.0_r21android-10.0.0_r20android-10.0.0_r19android-10.0.0_r18android-10.0.0_r16android-10.0.0_r15android-10.0.0_r14android-10.0.0_r13android-10.0.0_r12q_tzdata_aml_297100000ndk-sysroot-r21android12-mainline-tzdata-releaseandroid11-tests-releaseandroid11-security-releaseandroid11-s1-releaseandroid11-releaseandroid11-qpr3-s1-releaseandroid11-qpr3-releaseandroid11-qpr2-releaseandroid11-qpr1-s2-releaseandroid11-qpr1-s1-releaseandroid11-qpr1-releaseandroid11-qpr1-d-s1-releaseandroid11-qpr1-d-releaseandroid11-qpr1-c-releaseandroid11-platform-releaseandroid11-mainline-tethering-releaseandroid11-mainline-sparse-2021-jan-releaseandroid11-mainline-sparse-2020-dec-releaseandroid11-mainline-releaseandroid11-mainline-permission-releaseandroid11-mainline-os-statsd-releaseandroid11-mainline-networkstack-releaseandroid11-mainline-media-swcodec-releaseandroid11-mainline-media-releaseandroid11-mainline-extservices-releaseandroid11-mainline-documentsui-releaseandroid11-mainline-conscrypt-releaseandroid11-mainline-cellbroadcast-releaseandroid11-mainline-captiveportallogin-releaseandroid11-gsiandroid11-devandroid11-d2-releaseandroid11-d1-s7-releaseandroid11-d1-s6-releaseandroid11-d1-s5-releaseandroid11-d1-s1-releaseandroid11-d1-releaseandroid11-d1-b-releaseandroid10-qpr3-s1-releaseandroid10-qpr3-releaseandroid10-qpr2-s4-releaseandroid10-qpr2-s3-releaseandroid10-qpr2-s2-releaseandroid10-qpr2-s1-releaseandroid10-qpr2-releaseandroid10-qpr1-releaseandroid10-qpr1-mainline-releaseandroid10-qpr1-d-releaseandroid10-qpr1-c-s1-releaseandroid10-qpr1-c-releaseandroid10-qpr1-b-s1-releaseandroid10-qpr1-b-releaseandroid10-mainline-tzdata-releaseandroid10-mainline-resolv-releaseandroid10-mainline-networking-releaseandroid10-mainline-media-releaseandroid10-devandroid10-d4-s1-releaseandroid10-d4-releaseandroid10-c2f2-s2-releaseandroid10-c2f2-s1-releaseandroid10-c2f2-releaseandroid10-android13-mainline-tzdata-releaseXin Li
am: f23903bb9f -s ours am skip reason: subject contains skip directive Change-Id: I741aeb99b65f134cd9789a46e406bb0760f2ead4
2019-02-20DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterandroid-o-mr1-iot-release-1.0.14android-o-mr1-iot-release-1.0.13Xin Li
Bug: 120848293 Change-Id: I934a50a456613c3de8c8dbf902d622a3b1f06e16
2019-01-09Add default code reviewers into OWNERS am: ef770d0dfc am: c4014a6c07Chih-Hung Hsieh
am: 42ce931349 Change-Id: I00482b5944dbdf60cb5d7208b6288fcc15805aec
2019-01-09Add default code reviewers into OWNERS am: ef770d0dfcChih-Hung Hsieh
am: c4014a6c07 Change-Id: I107b6a9e27c3e21ea6f676308a75a80a6903af24
2019-01-09Add default code reviewers into OWNERSChih-Hung Hsieh
am: ef770d0dfc Change-Id: Iefa4eedab193be36d04ba2c65ce05ae17d7a0c14
2019-01-09Add default code reviewers into OWNERSandroid-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-q-preview-1android-o-mr1-iot-release-1.0.12android-o-mr1-iot-release-1.0.10oreo-mr1-iot-releaseChih-Hung Hsieh
Bug: 33166666 Test: gerrit uploader Change-Id: Ice92f61c13d86faed20f02a8708dcccc39c1dc4a
2018-12-10[automerger skipped] DO NOT MERGE am: 19d3ceb83b -s ours am: 6124435b0c -s ↵Xin Li
ours am: b432667bad -s ours Change-Id: I6eb9e5755484709f50987dd3c7ea97b7a1eb4c0e
2018-12-10[automerger skipped] DO NOT MERGE am: 19d3ceb83b -s oursXin Li
am: 6124435b0c -s ours Change-Id: Id202ec0230f03b88e7ccdafcdf2517240ce1a35b
2018-12-10[automerger skipped] DO NOT MERGEXin Li
am: 19d3ceb83b -s ours Change-Id: I0984a4a071ceb0ecc8aebbead32cf889ad89ab0f
2018-12-07DO NOT MERGEandroid-o-mr1-iot-release-1.0.8android-o-mr1-iot-release-1.0.7Xin Li
Merge pie-platform-release (PPRL.181205.001, history only) into master Bug: 120502534 Change-Id: I93a68f8d040c636a890a5f60f156aff34e4a65b1
2018-11-01Mark libxz as recovery_available for update_engine_sideload am: 6f13985f83 ↵Dan Willemsen
am: 95aeb9fa02 am: b259b40ad4 Change-Id: Ib9b9b225043547a577913bfd140da9bf66d8f738
2018-11-01Mark libxz as recovery_available for update_engine_sideload am: 6f13985f83Dan Willemsen
am: 95aeb9fa02 Change-Id: Ieeacfdf63e6bd6731be27942aa623fc9826c7d34
2018-11-01Mark libxz as recovery_available for update_engine_sideloadDan Willemsen
am: 6f13985f83 Change-Id: I2298c59cb791629080b9a34cfd0c2bf6319ff21b
2018-10-23Mark libxz as recovery_available for update_engine_sideloadandroid-wear-8.0.0_r2android-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r40.1Jandroid-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-display-r39android-o-mr1-iot-release-smart-display-r30android-o-mr1-iot-release-smart-display-r22android-o-mr1-iot-release-smart-display-r14android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-o-mr1-iot-release-cube_r2android-o-mr1-iot-release-cube-fsiandroid-o-mr1-iot-release-cube-fcsDan Willemsen
Test: build update_engine_sideload Change-Id: I8dbf8f108052c5df3dd0b90af48f5f618c472e99
2017-10-10Snap for 4386413 from 2ac7dc3167c394c90479b1cd48562b58570c651d to pi-releaseandroid-wear-9.0.0_r9android-wear-9.0.0_r8android-wear-9.0.0_r7android-wear-9.0.0_r6android-wear-9.0.0_r5android-wear-9.0.0_r4android-wear-9.0.0_r34android-wear-9.0.0_r33android-wear-9.0.0_r32android-wear-9.0.0_r31android-wear-9.0.0_r30android-wear-9.0.0_r3android-wear-9.0.0_r29android-wear-9.0.0_r28android-wear-9.0.0_r27android-wear-9.0.0_r26android-wear-9.0.0_r25android-wear-9.0.0_r24android-wear-9.0.0_r23android-wear-9.0.0_r22android-wear-9.0.0_r21android-wear-9.0.0_r20android-wear-9.0.0_r2android-wear-9.0.0_r19android-wear-9.0.0_r18android-wear-9.0.0_r17android-wear-9.0.0_r16android-wear-9.0.0_r15android-wear-9.0.0_r14android-wear-9.0.0_r13android-wear-9.0.0_r12android-wear-9.0.0_r11android-wear-9.0.0_r10android-wear-9.0.0_r1android-vts-9.0_r9android-vts-9.0_r8android-vts-9.0_r7android-vts-9.0_r6android-vts-9.0_r5android-vts-9.0_r4android-vts-9.0_r19android-vts-9.0_r18android-vts-9.0_r17android-vts-9.0_r16android-vts-9.0_r15android-vts-9.0_r14android-vts-9.0_r13android-vts-9.0_r12android-vts-9.0_r11android-vts-9.0_r10android-security-9.0.0_r76android-security-9.0.0_r75android-security-9.0.0_r74android-security-9.0.0_r73android-security-9.0.0_r72android-security-9.0.0_r71android-security-9.0.0_r70android-security-9.0.0_r69android-security-9.0.0_r68android-security-9.0.0_r67android-security-9.0.0_r66android-security-9.0.0_r65android-security-9.0.0_r64android-security-9.0.0_r63android-security-9.0.0_r62android-cts-9.0_r9android-cts-9.0_r8android-cts-9.0_r7android-cts-9.0_r6android-cts-9.0_r5android-cts-9.0_r4android-cts-9.0_r3android-cts-9.0_r20android-cts-9.0_r2android-cts-9.0_r19android-cts-9.0_r18android-cts-9.0_r17android-cts-9.0_r16android-cts-9.0_r15android-cts-9.0_r14android-cts-9.0_r13android-cts-9.0_r12android-cts-9.0_r11android-cts-9.0_r10android-cts-9.0_r1android-9.0.0_r9android-9.0.0_r8android-9.0.0_r7android-9.0.0_r61android-9.0.0_r60android-9.0.0_r6android-9.0.0_r59android-9.0.0_r58android-9.0.0_r57android-9.0.0_r56android-9.0.0_r55android-9.0.0_r54android-9.0.0_r53android-9.0.0_r52android-9.0.0_r51android-9.0.0_r50android-9.0.0_r5android-9.0.0_r49android-9.0.0_r48android-9.0.0_r3android-9.0.0_r2android-9.0.0_r18android-9.0.0_r17android-9.0.0_r10android-9.0.0_r1security-pi-releasepie-vts-releasepie-security-releasepie-s2-releasepie-release-2pie-releasepie-r2-s2-releasepie-r2-s1-releasepie-r2-releasepie-platform-releasepie-gsipie-cuttlefish-testingpie-cts-releaseandroid-build-team Robot
Change-Id: I7c575af213d9c3b2ea7a11feddc6dcee93e486ab
2017-10-09Use -Werror in external/xz-embedded am: 04db9dd79d am: 056e99d355 am: 1c785c60c3android-o-mr1-iot-release-smart-display-r3android-o-mr1-iot-release-1.0.5android-o-mr1-iot-release-1.0.4android-o-mr1-iot-release-1.0.3android-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16android-9.0.0_r12android-9.0.0_r11pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-releasepie-dr1-devpie-devpie-b4s4-releasepie-b4s4-devoreo-mr1-1.2-iot-releasemaster-cuttlefish-testing-releaseChih-Hung Hsieh
am: 2d94df3b0e Change-Id: I1f93482698774a8de03a6b73d3e72a43674c3df1
2017-10-09Use -Werror in external/xz-embedded am: 04db9dd79d am: 056e99d355android-wear-p-preview-2android-wear-8.0.0_r1android-p-preview-5android-p-preview-4android-p-preview-3android-p-preview-2android-p-preview-1android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.1android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8android-o-mr1-iot-preview-7o-mr1-iot-preview-8o-mr1-iot-preview-7Chih-Hung Hsieh
am: 1c785c60c3 Change-Id: I3919a7a92b94843d237e290920fedb82678e489f
2017-10-09Use -Werror in external/xz-embedded am: 04db9dd79dChih-Hung Hsieh
am: 056e99d355 Change-Id: Ia02d5d496aec6c4325b51465c3c42969b6f6f873
2017-10-09Use -Werror in external/xz-embeddedChih-Hung Hsieh
am: 04db9dd79d Change-Id: I57a6fe62cecc7f3cd4d419eefcda2bae3cae56ff
2017-09-29Use -Werror in external/xz-embeddedChih-Hung Hsieh
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Id5ae6cc8c81ec157430906938699a99f42c9ae3c
2017-06-23Link to the bug motivating the #defines. am: 03e7a3eae6 am: b1953bc192 am: ↵oreo-mr1-devElliott Hughes
eb4f490242 am: 3d48ad729b Change-Id: Ie9b90c858c3eee28cfec8ba69646c5eaac628595
2017-06-23Link to the bug motivating the #defines. am: 03e7a3eae6 am: b1953bc192Elliott Hughes
am: eb4f490242 Change-Id: Id9c15320a019ce947caf2bf4f8d5b5783fc61b5d
2017-06-23Link to the bug motivating the #defines. am: 03e7a3eae6android-o-mr1-preview-2android-o-mr1-preview-1Elliott Hughes
am: b1953bc192 Change-Id: I7babf3a184bb43375022a129a9123e8537b6280c
2017-06-23Link to the bug motivating the #defines.Elliott Hughes
am: 03e7a3eae6 Change-Id: I30e51c738145a131bf945c8e97111a5ae12ec555
2017-06-22Link to the bug motivating the #defines.Elliott Hughes
Bug: http://b/32846435 Test: builds Change-Id: Ifbc754f2336dc35c6ffe8d7acd3d41e86da77859
2017-06-22Build libxz from external/xz-embedded. am: f56c789601 am: 031fd68df0 am: ↵Elliott Hughes
5c2f63f932 am: 0043a8b314 Change-Id: Ib23cad8fbcbfdfa83cb9fc0a8f11649c3ab24196
2017-06-22Build libxz from external/xz-embedded. am: f56c789601 am: 031fd68df0Elliott Hughes
am: 5c2f63f932 Change-Id: I14a6eb3021fe9eac7bd93bc8cf21ada32f1f5fa1
2017-06-22Build libxz from external/xz-embedded. am: f56c789601Elliott Hughes
am: 031fd68df0 Change-Id: I456ce637dcedbe2a62dad2c8a006edf32ec32424
2017-06-22Build libxz from external/xz-embedded.Elliott Hughes
am: f56c789601 Change-Id: I17816db7d1d529242b394d9a6ec015fcafff3245
2017-06-21Build libxz from external/xz-embedded.Elliott Hughes
Also add the various bits of Android tree detritus. Bug: http://b/32846435 Test: builds Change-Id: I520a6b37d4f66078b6d94f91f1208a84c2d5d9c4
2017-06-16Merge remote-tracking branch 'aosp/upstream_master' into mymergeElliott Hughes
2017-06-16Initial empty repositoryBill Rassieur
2017-04-07Add two more missing fall-through comments.upstream_masterLasse Collin
2017-04-06xzembed: add fallthrough annotations to fix build with GCC7Andrei Borzenkov
GCC7 is more strict than previous versions; add missing fall through annotations. Style is modeled after similar annotations in xz_dec_lzma2.c.
2015-11-03userspace: buftest: add a new line after error messageDu Huanpeng
Signed-off-by: Du Huanpeng <u74147@gmail.com>
2015-10-30userspace: bytetest: add a new line after error messageDu Huanpeng
Signed-off-by: Du Huanpeng <u74147@gmail.com>
2014-04-07Add comments for the intentionally missing break statements.Lasse Collin
2013-05-13Fix a typo in decompress_unxz.c.Lasse Collin
This is an old fix from 2011 that I just found from the Linux source tree. The fix was made by Lucas De Marchi.
2013-05-13Update linux/lib/xz/Kconfig from Linux 3.9.Lasse Collin
This drops "if EXPERT" from BCJ filter configuration, and the default configuration enables only the BCJ filter(s) that are likely needed on the target arch: x86 BCJ filter is enabled on x86, PowerPC filter on PowerPC, and so on. Patches do this were made by Florian Fainelli, and a typo was fixed by Paul Bolle.
2013-04-15Add support for MSVC in xz_config.h.Lasse Collin
Thanks to Luke Deller for the original patch.
2013-02-27Document integrity check #defines in README.Lasse Collin
2013-02-27Add optional support for CRC64.Lasse Collin
2012-03-31Mention xzminidec.c in README.Lasse Collin
2012-03-19Fix xz_wrap.sh on SPARC and 32-bit x86.Lasse Collin
ARCH for 32-bit x86 is i386, not x86. 32-bit and 64-bit SPARC have different ARCH values too. Use SRCARCH instead of ARCH to keep things simple.
2012-02-22Add the test program that was supposed to be in the previous commit.Lasse Collin
Note: The previous commit is five months old.
2011-09-19Add a program to test the bug fixed in the previous commit.Lasse Collin
2011-09-19Fix incorrect XZ_BUF_ERROR.Lasse Collin
xz_dec_run() could incorrectly return XZ_BUF_ERROR if all of the following was true: - The caller knows how many bytes of output to expect and only provides that much output space. - When the last output bytes are decoded, the caller-provided input buffer ends right before the LZMA2 end of payload marker. So LZMA2 won't provide more output anymore, but it won't know it yet and thus won't return XZ_STREAM_END yet. - A BCJ filter is in use and it hasn't left any unfiltered bytes in the temp buffer. This can happen with any BCJ filter, but in practice it's more likely with filters other than the x86 BCJ. This fixes <https://bugzilla.redhat.com/show_bug.cgi?id=735408> where Squashfs thinks that a valid file system is corrupt. Thanks to Jindrich Novy for telling me that such a bug report exists, Phillip Lougher for providing excellent debug info, and other people on #fedora-ppc. This also fixes a similar bug in single-call mode where the uncompressed size of a XZ Block using BCJ + LZMA2 was 0 bytes and caller provided no output space. Many empty .xz files don't contain any Blocks and thus don't trigger this bug. This also tweaks a closely related detail: xz_dec_bcj_run() could call xz_dec_lzma2_run() to decode into temp buffer when it was known to be useless. This was harmless although it wasted a minuscule number of CPU cycles.
2011-07-23Add missing <linux/kernel.h> include.Lasse Collin
The min_t macro is defined in <linux/kernel.h>. On x86 <linux/kernel.h> is included indirectly via <asm/unaligned.h>, thus the missing include wasn't caught on x86. Since <linux/kernel.h> always includes <asm/byteorder.h>, there's no need to include the latter explicitly. Thanks to Russel King and and Imre Kaloz.
2011-06-19Update a comment in xzminidec.c.Lasse Collin
2011-05-01s/EMBEDDED/EXPERT/ in linux/lib/xz/Kconfig.Lasse Collin