From 2963747d141e6c402db0675abd24b399671145aa Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Sun, 7 Feb 2021 17:40:59 -0800 Subject: [PATCH] Fix LZ4_LG format decompression Fix #3802, fix #3722, fix #3770, fix #3635, fix #3787, close #3812 --- native/jni/magiskboot/compress.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/native/jni/magiskboot/compress.cpp b/native/jni/magiskboot/compress.cpp index 3b72fa5d8..f8eef1fd6 100644 --- a/native/jni/magiskboot/compress.cpp +++ b/native/jni/magiskboot/compress.cpp @@ -546,6 +546,7 @@ stream_ptr get_decoder(format_t type, stream_ptr &&base) { case LZ4: return make_unique(std::move(base)); case LZ4_LEGACY: + case LZ4_LG: return make_unique(std::move(base)); case GZIP: default: